Variables in HTML and variables in PHP
Submitting HTML form data to PHP server.
If HTML form has more variables than the amount of variables in PHP server,
( AND if excess variables in HTML form do not have appropreate corresponding PHP variables , ) does server ignore such variables and process only appropreate corresponding variables ?
Does server output error ?
I don't understand what your asking here, are you asking if it's possible to have more fields in a form than the server can handle? because that's possible, but unlikely.
If HTML form has more variables than the amount of variables in PHP server ?
PHP will only get variables you want:
if you have :
... name = "fullname" ...
... name = "address" ....
... name = "city" ....
In PHP use: $name = $_POST['fullname'];
So make variables for what you need only ..
Anyway I didn't understand your question very well, hope that helps
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)