|
|
|||||||||
|
|||||||||
|
|||||||||
| |
|||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Display Modes |
|
|
|
You don't need a fax machine to get faxes. Get a fax-to-email fax number from CallWave. Try it free.
|
|
#1
|
|||
|
|||
|
blobbing images from database
HI,
Can anyone help regarding saviong and displaying images directly from database. Actually I have stored images in a blob field with the help of article on this site and it downloads as well by passing an 'id' value. Well what I want is to display all images from the database by using a loop. Is this possible or I have to limit myself on 'id' values. Thanks for ur time and will wait for advise. |
|
#2
|
|||
|
|||
|
Just use a while loop to loop through your result set and display each image:
$sql = "SELECT * FROM images"; $result = @mysql_query($sql) or die("Error"); while ($row = mysql_fetch_array($result)){ // display image } Hope that helps...
__________________
____________________________________________ Developer Shed Weekly Writer | DevArticles Forum Moderator Build Your Own KlipFolio Klip With PHP FrankManno.com - Under Construction Design Interactive Group - Under Construction |
![]() |
| Viewing: Dev Articles Community Forums > Databases > Database Development > blobbing images from database |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|