Re: Training Help

From: Date: Fri, 12 Sep 2003 11:25:32 +0000
Subject: Re: Training Help
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-162409@lists.php.net to get a copy of this message
Hi Ryan, Sounds like register_globals is turned off on your server (this is generally a Good Thing). Rather than having all your form fields converted directly into variables - which your book is assuming, as it's how PHP used to do it - you'll need to access them via the $_POST array. Try changing this line: > echo $tireqty." tires<br>"; To this: echo $_POST["tireqty"]. " tires<br>"; Search the manual or the list archives for "register_globals" and you'll get loads of info about this. Cheers Jon

« previous php.general (#162409) next »