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

2007-02-21 Thread Chris
Chris Carter wrote: I have a field in database called "logos" which has one value "images/logos/some_logo.jpg" In my php I am trying to call it in my php file as image. With this code. $sno = $_REQUEST['sno']; $query="SELECT logos FROM table WHERE sno = '$sno'"; Please please please read ht

RE: [PHP-DB] How to call image from mySql to php file

2007-02-21 Thread Bastien Koert
Simple, just add the image tag around it $query="SELECT logos FROM table WHERE sno = '$sno'"; $result=mysql_query($query); $num=mysql_numrows($result); mysql_close(); $logos=mysql_result($result,$i,"logos"); echo " "; Bastien From: Chris Carter <[EMAIL PROTECTED]> To: php-db@lists.php.net