Fortuno, Adam írta:
//Write a query to pull out the picture's path $sql = "SELECT path FROM Image WHERE ID = %s"; mysql_real_escape_string($value);
Sorry, but this won't work, since you don't map the value of the escaped $value to the %s, lets say with sprintf()...
Regards, Matya -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php