Re: $_POST[$variable]
| From: | Chris Garaffa | Date: | Thu, 11 Dec 2003 13:14:03 +0000 |
| Subject: | Re: $_POST[$variable] | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-172465@lists.php.net to get a copy of this message | ||
On Dec 11, 2003, at 8:02 AM, Christian Jancso wrote:
Hi there, I have the following problem: How can I use variables in the $_POST statement? Here is my code: $old_station[$o] = $_POST['$i']; $new_station[$o] = $_POST['$i'];Christian, My biggest question is: What are $i and $o set to? Unless $i is set to a string with the same name as POST variable you're trying to access, this code won't work. -- Chris Garaffa chris@nilzero.com