bennyy Posted May 14, 2007 Share Posted May 14, 2007 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 Quote Link to comment https://forums.phpfreaks.com/topic/51390-i-need-some-help-pulling-items-from-a-database/ Share on other sites More sharing options...
stevesimo Posted May 15, 2007 Share Posted May 15, 2007 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. Quote Link to comment https://forums.phpfreaks.com/topic/51390-i-need-some-help-pulling-items-from-a-database/#findComment-253206 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.