Re: counting check boxes
| From: | Richard Lynch | Date: | Sat, 10 May 2003 22:28:47 +0000 |
| Subject: | Re: counting check boxes | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-147153@lists.php.net to get a copy of this message | ||
Ryan A wrote:
> After going through their source i see their checkboxes are all named
> "planid" so i did the same for mine...
>
> What do you suggest to get the same functionality?
It would be easier to use NAME="planid[42]" where 42 is the actual ID of
the selected plan...
However, if you insist on using "planid", you can then use $PATH_INFO or
other similar pre-defined variables from the web server and various
string utility functions such as http://php.net/explode to have
your GET
data in almost any format you prefer.
There's an old article by Zeev (?) about how to use $PATH_INFO and URL
munging to get the search engines to index dynamic pages which covers
the basics in a couple pages.