Re: ANY IDEAS?
| From: | Jason Wong | Date: | Thu, 08 May 2003 19:43:01 +0000 |
| Subject: | Re: ANY IDEAS? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-146906@lists.php.net to get a copy of this message | ||
On Friday 09 May 2003 02:04, Dale wrote:
Please use a descriptive subject.
> I currently have a page with multiple select statements. Each select name
> is given a unique name based upon a unique id pulled from a database. The
> problem I am having is how to retrieve the data from these select
> statements. I am able reconstruct the same name I assigned to each select
> statement, but I don't know how to turn that string into a variable name.
> Is there a way to dynamically create variables or perhaps, is there a
> better way to handle multiple select statements. Please keep in mind,
> however, that the select statements are being generated dynamically, so the
> number of select statements and the name of the select statments will
> depend on how many users are in my database which changes quite frequently.
It's easier for people to help if you actually include some code and/or the
real-life data that you're working with. In lieu of such details then:
manual > Variables > Variable variables
manual > Variables > Variables from outside PHP
--
Jason Wong -> Gremlins Associates -> www.gremlins.biz
Open Source Software Systems Integrators
* Web Design & Hosting * Internet & Intranet Applications Development *
------------------------------------------
Search the list archives before you post
http://marc.theaimsgroup.com/?l=php-general
------------------------------------------
/*
Just remember: when you go to court, you are trusting your fate to
twelve people that weren't smart enough to get out of jury duty!
*/