checkbox question
| From: | Gianni | Date: | Tue, 07 Nov 2000 10:29:28 +0000 |
| Subject: | checkbox question | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-24071@lists.php.net to get a copy of this message | ||
Hi
I was wondering how I could do this.
I have a from for companies to fill out, in the from, there are 9 checkboxes for regions eg.
National etc etc
Whenthose are selected, the values are inserted in the db (if they are not selected, a blank is
inserted )
Now when people search for companies, they have a similar form. The problem is that when someone
selects regions, and some of the checkboxes are not selected, even the blank references will be
picked up ( as the search form checkboxes have been left unselected)
How could get around this ? i was thining of replacing the blanks with a .. or something when
companies are added to the db and certain areas are not selected.
Could this work ? and if so how could I do that ?
thanks
Gianni