Board index   FAQ   Search  
Register  Login
Board index php forum :: php coding PHP coding => Images

Multiple Images from BLOB

images php coding issues or problems here.

Moderators: macek, egami, gesf

Multiple Images from BLOB

Postby wenkep3 » Sat Jul 30, 2011 8:44 am

I have images stored inside a blob and I want to display a few of them on one page. I have two problems, the first being how to display multiple images and the second being how would I display them in the middle of the page, instead of at the top, how header requires it to be.

I've attempted scripts similar to this, which don't work.
header("Content-type: image/jpg"){
print($img0);
print($img1);
print($img2);
}

The second problem having to do with where it gets printed.
print("Images<br />");

header("Content-type: image/jpg");
print($img0);
wenkep3
New php-forum User
New php-forum User
 
Posts: 7
Joined: Tue Apr 12, 2011 6:50 pm

Return to PHP coding => Images

Who is online

Users browsing this forum: No registered users and 1 guest

Sponsored by Sitebuilder Web hosting and Traduzioni Italiano Rumeno and antispam for cPanel.

cron