darkrainth
Programmer
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!
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"
Please help! Thanks in advance!