I'm working on a signup form that posts variables like username and email to my PHP script. If the username has an invalid length I won't to post back all the variables to the signup form so the user does not have to retype them all again. The only way I can think of doing it is adding
&username={$_POST['username']}&email={$_POST['email]}&...
for every variable I have. Is there an easier way of doing this?