Quote:
|
Originally Posted by Chroder
No, putting it outside the quotes shouldn't matter. Mabe you've got register_globals off, try accessing the variables via the $_POST array:
echo $_POST['tireqty']." tires<br />";
// etc..
|
I did as you suggest, employing the $_POST text, and my problem is solved. I also tried moving my variables inside the quotes, as another helpful person suggested, but had no success. I have not yet learned about the $_POST array, but I certainly thank you for setting me straight. Interesting, the commented text from the php.ini file says that we should strive to write our code so that we can keep register_globals off. See the cut'npaste from the php.ini file below:
; You should do your best to write your scripts so that they do not require
; register_globals to be on; Using form variables as globals can easily lead
; to possible security problems, if the code is not very well thought of.
register_globals = Off