Using PHP to populate a page with images?

Dan

New member
I have a database with all the images I need to fill the page I'm connected to the database. Now the thing I don't know how to do is to call the images through PHP and have them show up on the page. I know I will need a for loop to cycle through all the images and give them the proper tags but how do I make the initial call to the database? I'm using PHP5 and MySQL database with PHPMyAdmin.

Now I know how to do this through dreamweaver but the code it generates is so messy and ugly that I'm not going to do it that way.

Be as long winded as possible with answers and if you can point me towards video tutorials or any thing that would be great as well.

Thanks
 
Back
Top