Professional-PHP
[Prev] Thread [Next] | [Prev] Date [Next]
[Pro. PHP Dev.] I saved images in mysql database (blob) I am unable to get all images at once anjith Fri Jun 26 03:00:31 2009
Hi,
I saved images in mysql database (blob) I am unable to get all images
at once.
<?php
mysql_pconnect("localhost","root","");
mysql_select_db("sample");
$rs = mysql_query("select image from users");
while($row=mysql_fetch_assoc($rs))
{
$imagebytes = $row[image];
header("Content-type: image/jpeg");
echo $imagebytes."<p>nbsp;</p><p>nbsp;</p><p>nbsp;</p>";}
?>
This is the code i am using i am geting one image clearly remaining i
am unable to get.....
Thanks and Regards,
Anjith
--~--~---------~--~----~------------~-------~--~----~
This group is managed and maintained by the development staff at 360 PSG. An
enterprise application development company utilizing open-source technologies
for todays small-to-medium size businesses.
For information or project assistance please visit :
http://www.360psg.com
You received this message because you are subscribed to the Google Groups
"Professional PHP Developers" group.
To post to this group, send email to [EMAIL PROTECTED]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/Professional-PHP
-~----------~----~----~----~------~----~------~--~---