Re: =sessions / J. Meloni Textbook=
| From: | John W. Holmes | Date: | Thu, 20 Nov 2003 03:12:36 +0000 |
| Subject: | Re: =sessions / J. Meloni Textbook= | ||
| References: | 1 2 3 4 5 6 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-170378@lists.php.net to get a copy of this message | ||
Anthony Ritter wrote:
Thanks again but here's what happens when I run that. The form box appears. I select an option. I hit submit. The page that loads says: Warning: Invalid argument supplied for foreach() in c:\apache\htdocs\session_yyy.php on line 13 I then hit the link: Back to content page. The form box appears. I select _another_ option. I hit submit. The page that loads now has the _second_ value I have submitted but not the first. Like: 1. 2. Hal 2000 Is there a way to get the first option into the array?Show the code you're using again. I tried the code I gave and it worked perfectly. -- ---John Holmes... Amazon Wishlist: www.amazon.com/o/registry/3BEXC84AB3A5E/ php|architect: The Magazine for PHP Professionals – www.phparch.com