December 16th, 2012, 06:31 PM
Beginner - form
If i have a form like this:
< input name="submitted[name]">
what is the php code for retrieving the name, mail and subject and put them in $name, $email, $subject?
December 16th, 2012, 06:36 PM
There are 10 kinds of people in the world. Those that understand binary and those that don't.
December 16th, 2012, 07:13 PM
Only difference is that $_POST["submitted"] is what you need to look at, and it's an array.
December 17th, 2012, 02:15 AM
yes but like this is not working:
Originally Posted by gw1500se
Comments on this post
December 17th, 2012, 02:17 AM
Originally Posted by wasssu1
echo $_POST['submitted']['name'];//name is the array key
Last edited by aeternus; December 17th, 2012 at 02:21 AM.
December 17th, 2012, 03:05 AM
Thanks, it's working like this!
Originally Posted by aeternus