PHP access to form variables
Posted on 2011-05-05
Is there any way that PHP can access form variables? Suppose I have a form, for example, that has:
Please enter the number of books you want to buy [ 6 ]
Please enter the names of the 6 books you want to buy
I know this is a silly example but it illustrates what I basically want to do: I want to use a number that the user entered into a previous text input of the form to phrase a later question in the form.
I've been so impressed with PHP so far that it's hard to believe that it can't do this.
Thanks for any thoughts.