pictures in catalog
Moderator: General Moderators
pictures in catalog
i need to load images in my table database, display in product catalog, and display images in my shopping cart, thru adding the selected image on shopping cart database thru mysql, coding is in php. how do i load imagers and display the images on a table form...
With each item in the database you can have a URL to the picture of the item. So then when you call your database to get the info about each item you can just output something like this:
Code: Select all
<img src="<?php echo $imgurl; ?>" border="0" alt="">-
microthick
- Forum Regular
- Posts: 543
- Joined: Wed Sep 24, 2003 2:15 pm
- Location: Vancouver, BC
Or, you can store the images in the database.
This is the tutorial I learned from:
http://www.phpbuilder.com/columns/florian19991014.php3
This is the tutorial I learned from:
http://www.phpbuilder.com/columns/florian19991014.php3