View Full Version : where to start php form

12-02-2005, 06:57 AM
hey guys, i have posted a few threads asking different questions here. I just want to thank you all who helped me. Now comes another thing that i think i am pretty much ready to start learning. I made this form in one of my websites RIGHT HERE ('http://www.corrdentonline.com/SubPages/ContactUs.php'), i have validated them and now i think i am ready to work just a little bit with php and mysql. I have both of them installed in my server and i dont know where to find that tutorial that can walk me through the form processing stuff. Can anyone suggest a tutorial? Or a piece of script i can modify and study? I would greatly appreciate it. Thanks bunch.

12-02-2005, 10:41 PM
Hi rogenie,
Here is the PHP script attached for sending your form results to Email.

Just open this file and change these parameters according to you


Give your form action= sendresults.php and it will do.

Creative Insanity
12-02-2005, 11:52 PM
Don't forget to change the form action to sendresults.php

12-04-2005, 02:15 AM
i dont understand. sorry. i copy and paste it before the /form tag and i also changed the things that needs to be changed there but when i preview it, it automatically redirects me to the thanks page? Also i validate the forms in dreamweaver does this matter? Where should i exactly put this code? TY.

Creative Insanity
12-04-2005, 07:59 AM
Leave it as a seperate file with that name sendresults.php and edit where you need to.
Then on your form page make the action to that php file. Also use the POST method.

12-04-2005, 07:15 PM
still working on it.......

Creative Insanity
12-04-2005, 11:19 PM
I have tested that php script and it seems to work a treat with no hiccups or errors.