javascript cookies for php relational menus
| From: | Robbie Staufer | Date: | Mon, 14 Apr 2003 22:20:13 +0000 |
| Subject: | javascript cookies for php relational menus | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-27080@lists.php.net to get a copy of this message | ||
Hi All,
I hope this is an appropriate question for this list. If not, just let me know.
I have a php script for querying a database, wherein the query fields are all relational, or dependent menus. The menus are created in JavaScript, but are dynamically populated from the database with php. (A user selects a table to query, and the next two menus are dynamically filled with the columns from the selected table.)
What I need to do is create JavaScript cookies to remember the menu selections when the page is reloaded. The problem (I think) exactly how to set cookie names that will match the names of the php-generated menu options. Can anyone help?
Thanks,
Robbie Staufer
--
-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*
Robbie Staufer
NCAR/SCD
1850 Table Mesa Dr. Rm. 42
Boulder, CO. 80305
(303) 497-1836