Re: Retrieving Image Location in MySQL

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


[Index of Archives]     [PHP Home]     [PHP Users]     [Postgresql Discussion]     [Kernel Newbies]     [Postgresql]     [Yosemite News]

  Powered by Linux