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