Hiya,
I have a form which is mostly validated through some JavaScripts, but I then pass all information on to a php script which does some final validation against a MySQL db (does the username already exist for example). If the username is unique, the record is added and all is well, but if the username exists, I build a page which asks the user to pick another name, and when they submit I call the same page again.
To pass all form data (basically to itself again) I use hidden fields now, is there a better way?
Thomas