[PHP] register_globals off issues

2002-11-12 Thread Mark Spohr
I'm very new to PHP/mySQL and am working through the PHP and mySQL for Dummies examples. Unfortunately, these were all written with register_globals on and the system I'm using has register_globals off. I'm having trouble converting the examples to use the $_POST() expression. Specifically,

Re: [PHP] register_globals off issues

2002-11-12 Thread Ernest E Vogelsinger
At 21:05 12.11.2002, Mark Spohr said: [snip] I'm trying to convert this to use $_POST() as such: if ($_POST['form'] == yes) { unset($_POST['form']); } However, this does not work. It appears that you can't unset the $_POST['form'] array element.