Log in

View Full Version : submit form data to same page



danielmeade
02-15-2011, 08:38 PM
Hi all,

I'm trying to work out how to take data inputed into a form and then have it arranged as appropriate and displayed on that same page. I know how to build a form etc... just not quite sure how to do this.

Any help is much appreciated!

Thanks,

djr33
02-15-2011, 10:08 PM
A basic tutorial that introduces forms in PHP should give you enough information to get started.

You will use the array $_POST and access individual fields by $_POST['fieldname'].

You can echo them or do anything else you want.