Re: [PHP-DB] Retrieving Image Location in MySQL
[email protected] (Mattyasovszky Janos)
| Newsgroups | php.db |
|---|---|
| Message-ID | <[email protected]> |
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