Re: [PHP] Re: displaying image from blog

2005-10-04 Thread cron
27;',$data)){ echo $obj->photo; } $data=$ms_sql->disconnect(); Page where image goes: Angelo - Original Message - From: "blackwater dev" <[EMAIL PROTECTED]> To: Sent: Tuesday, October 04, 2005 2:14 PM Subject: [PHP] Re: displaying i

[PHP] Re: displaying image from blog

2005-10-04 Thread cc
you cant just mix html tags and image data and expect them to be on the same page to get both html and images displayed. if you want image, use a tag, whose SRC attribute maybe a php file, and this php file will output _only_ image data, i.e. echo $obj->photo; nothing more, except if you want t

[PHP] Re: displaying image from blog

2005-10-04 Thread blackwater dev
Sorry, meant BLOB, not blog. On 10/4/05, blackwater dev <[EMAIL PROTECTED]> wrote: > I am querying a MSSQL db where an jpg image is stored as a blog. > > I have this code: > > > > > > > //Do the query > include_once("../includes.list.php"); > $ms_sql= new ms_db(); > $my_sql=new Database(