Re: [PHP] variables not behaving as expected

2002-08-19 Thread Joseph W. Goff
You don't actually have a variable named $do at this point. You can either have php set this variable automatically by turning on register globals in the php.ini file or you can extract the variable or do something like this: foreach ($_POST as $key => $post) { echo "$key = $post"; $$key =

RE: [PHP] variables not behaving as expected

2002-08-19 Thread MET
Read this. http://www.php.net/release_4_2_0.php ~ Matthew -Original Message- From: ROBERT MCPEAK [mailto:[EMAIL PROTECTED]] Sent: Monday, August 19, 2002 1:59 PM To: [EMAIL PROTECTED] Subject: [PHP] variables not behaving as expected We've recently upgraded to PHP version 4.2