GoFuckYourself.com - Adult Webmaster Forum

GoFuckYourself.com - Adult Webmaster Forum (https://gfy.com/index.php)
-   Fucking Around & Business Discussion (https://gfy.com/forumdisplay.php?f=26)
-   -   ahh shit!< help me. ? MySQL (https://gfy.com/showthread.php?t=57080)

Direktor 04-16-2002 09:28 AM

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?");

ServerGenius 04-16-2002 09:36 AM

Quote:

Originally posted by Direktor
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?");

that looks like a strange query to me explain what you want
to do first then I might be able to help

DynaMite

Direktor 04-16-2002 10:49 AM

well I figured this one out, but what is the fuction to delete an image file (jpg) from the same directory?

buran 04-16-2002 12:23 PM

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


All times are GMT -7. The time now is 09:34 AM.

Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123