Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

MYSQL/PHP ...

Status
Not open for further replies.

darkrainth

Programmer
Jun 25, 2001
1
US
I need help!
I'm using MySQL and PHP...
I have a form that users will fill out. On the form there are checkboxes for options they choose. I have the options inserted into my DB where needed... if the option is selected, it inserts "on" for the value. I have an auto-increment ID, etc., etc.

What I will do is have a list of sites on my webpage. Next to the link, it will show a list of icons. The icons describe what their site has. I need a script to read that site's ID number and display a unique icon (.gif or .jpg) for each of the options that have been selected (ones that have the value "on"), and ignore the ones that hadn't been selected (ones that have no value, or the "off" value).

Please help! Thanks in advance!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top