PHP automatically buids arrays if you use square brackets with variable names. So I tend to use this method rather than an extra variable:
In PHP you can then access the variable as follows:HTML Code:<input type="text" name="updateProfile[name]" />
For get requests; I would however favour having an action variable such as do.PHP Code:$_POST['updateProfile']['name']




Reply With Quote