I've got the table structure like so:
main info: members
referenced icons:member_icons
linking table: icon_types
What I am trying to do is build a search for my site and I would like to pick out specific icons from the icon_types table. The icons are referenced by numbers. Here is an example which references one icon.
mysql> select members.user,member.webanimal,icon_types.animal_icon from members,icon_types where member.memberID='3' and member.webanimal=icon_types.animalID;
What I want to do is bring up three icons. I am having a hard time getting this to work. Can anyone suggest a method, and maybe provide an example?
Thank you!
Rninja
main info: members
referenced icons:member_icons
linking table: icon_types
What I am trying to do is build a search for my site and I would like to pick out specific icons from the icon_types table. The icons are referenced by numbers. Here is an example which references one icon.
mysql> select members.user,member.webanimal,icon_types.animal_icon from members,icon_types where member.memberID='3' and member.webanimal=icon_types.animalID;
What I want to do is bring up three icons. I am having a hard time getting this to work. Can anyone suggest a method, and maybe provide an example?
Thank you!
Rninja
