Re: [PHP] Re: How to call image from mySql to php file

2007-02-24 Thread Jim Lucas
benifactor wrote: $query = mysql_query("SELECT logos FROM table WHERE sno = '$sno' limit 1") or die(mysql_error()); while ($result = mysql_fetch_array($query)) { $sno = $result[logos]; } logos = constant??? if not, you should have it quoted. Otherwise you will get a PHP notice warning

Re: [PHP] Re: How to call image from mySql to php file

2007-02-23 Thread benifactor
$query = mysql_query("SELECT logos FROM table WHERE sno = '$sno' limit 1") or die(mysql_error()); while ($result = mysql_fetch_array($query)) { $sno = $result[logos]; } ?> hope it helps - Original Message - From: "Fahad Pervaiz" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]>;

Re: [PHP] Re: How to call image from mySql to php file

2007-02-21 Thread Kevin Waterson
This one time, at band camp, "Haydar TUNA" <[EMAIL PROTECTED]> wrote: > Hello, >Firstly, your image table field should be BLOB field then you create > a image file (for example image.php). in this file, if your application is > more secure, you can control the session variables. You get