Thread: PHP help
View Single Post
Old 07-08-2005, 08:20 PM   #13 (permalink)
Cromewell
Moderator
 
Cromewell's Avatar
 
Join Date: Dec 2004
Location: Canada
Age: 25
Posts: 10,443
Default

1. I would store the URL of the necklace in the table (probably as a php page so that i can say displayitem.php?item=necklace or something like that) and then print the html link in the php script
PHP Code:
print "<a href=$row[url]> $row[name]</a>"
2. Same idea as 1 but store the img path (ie. images\necklace.jpg) and print img tags in the php script
__________________

You know what the chain of command is? It's the chain I go get and beat you with 'til ya understand who's in command here.

www.userfriendly.org
Cromewell is online now   Reply With Quote