Re: Associative Array Disappears Inside Program
| From: | Jason Wong | Date: | Wed, 30 Apr 2003 17:19:54 +0000 |
| Subject: | Re: Associative Array Disappears Inside Program | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-145822@lists.php.net to get a copy of this message | ||
On Wednesday 30 April 2003 23:49, Guru Geek wrote:
> Sorry bout that. I was trying to keep the post to a minimum. Didn't want
> to aggrevate anyone by creating a huge email.
Without code anyone trying to help would have to resort to telepathic means.
That, I can assure you, is far from reliable!
If the contents of a huge email are totally relevant to the question then
nobody would complain. If the contents of a huge email are mostly made up of
untrimmed quotes from previous posts *then* people would complain.
> The program is obviously a
> fall through logic program. So step three is at the top and step one is at
> the bottom.
> Everything works fine except the final step in #3. There is no value
> stored in $database_array[courses] at this point. Can anyone tell me
> why at this point?
[snip]
You have to remember that HTTP is stateless. You need to to pass the value of
$database_array[courses] onto the 3rd stage. The preferred method in this
case would be to use a hidden value in your form.
--
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
------------------------------------------
/*
The most disagreeable thing that your worst enemy says to your face does
not approach what your best friends say behind your back.
-- Alfred De Musset
*/