![]() |
![]() |
![]() |
||||
Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact us. |
![]() ![]() |
|
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed. |
|
Thread Tools |
![]() |
#1 |
Registered User
Join Date: Dec 2001
Posts: 529
|
ahh shit!< help me. ? MySQL
If anyone knows MySQL/PHP
why is this shit not working? why is the id not geting my $value? fuck im dead. $sql = mysql_db_query("images", "SET source=$source info=$info WHERE id =?$value?"); |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#2 | |
Confirmed User
Join Date: Feb 2002
Location: Amsterdam
Posts: 9,377
|
Quote:
to do first then I might be able to help DynaMite
__________________
| http://www.sinnerscash.com/ | ICQ: 370820 | Skype: SinnersCash | AdultWhosWho | |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#3 |
Registered User
Join Date: Dec 2001
Posts: 529
|
well I figured this one out, but what is the fuction to delete an image file (jpg) from the same directory?
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#4 |
Confirmed User
Join Date: Mar 2002
Location: how'd I get here?
Posts: 264
|
Yo, you probably want your query to be of the form:
UPDATE table SET field1=value1, field2=value2 WHERE field3=value3 And, to delete a file in PHP use the unlink() command, http://www.php.net/unlink
__________________
[this signature intentionally left blank] |
![]() |
![]() ![]() ![]() ![]() ![]() |