Jump to content

I need some help pulling items from a database


bennyy

Recommended Posts

Olk I am working on a ecommerce website i am trying to pull the items from the database and put them in rows instead of a column. it keeps wanting to pull the same item that your looking at and not pull from the database. heres the code

<a href="$settings[shopurl]index.php?action=item&id=$iteminfo[itemid]$prevurl">
<!--// Start Hide Image //-->
<img src="$settings[curl]$settings[productpath]$iteminfo[thumb]" border="0" $size>
<!--// End Hide Image //--><br>$iteminfo[title]
</a>

 

when i put this code in another page it works fine but when i am looking at the item it doesnt

Where is your query code? If you want to display the items in a row rather than a column then you can use a table layout with columns for each data element that you want to display.  Can you be more specific with your code and what you are trying to achieve.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.