[PHP] Don't get variable to be passed to the page on submit

2002-12-13 Thread Davíð Örn Jóhannsson
I have this code whitch I have been staring at for hours and I just can’t figure out what is going on... it is about as simple as it gets I just need to pass a variable from this page to it self, and that would be tha variable $nafn I have this included code included into another page that is

Re: [PHP] Don't get variable to be passed to the page on submit

2002-12-13 Thread Philip Olson
Read this: http://www.php.net/variables.external Pay special attention to the parts about the PHP directive register_globals. If on, both $_GET['nafn'] and $nafn will exist. If off, $nafn will not exist. As of PHP 4.2.0, the default for this in php.ini went from on to off. This applies