Hi,
I just started doing some basic coding in PHP. I have been trying to find a good tutorial or book that shows me how to process information from forms. My form includes text boxes, textarea, drop down selection boxes, etc. All the normal things found on a form. I've been on a lot of pages and have found info on getting text but not the others. I just need to send all the data to an email address for now.
Thanks ahead of time for any help.
Sue
Newbie to PHP Form Help
Moderator: General Moderators
-
Cruzado_Mainfrm
- Forum Contributor
- Posts: 346
- Joined: Sun Jun 15, 2003 11:22 pm
- Location: Miami, FL
you have to set the 'name' property for each element(textboxes, checkboxes, etc) that you have, if you set the method of the form to 'get' when u can read the results by using the variable $_GET['thenameoftheelement'] or if you set method to POST then it will be $_POST['nameoftheelement'], by the way, what php version u have?
-
Cruzado_Mainfrm
- Forum Contributor
- Posts: 346
- Joined: Sun Jun 15, 2003 11:22 pm
- Location: Miami, FL
in a php file, write this to see what PHP Version u have:
Code: Select all
<?php
phpinfo();
?>-
Cruzado_Mainfrm
- Forum Contributor
- Posts: 346
- Joined: Sun Jun 15, 2003 11:22 pm
- Location: Miami, FL