rookie email php help
- December 8, 2009
- 1 reply
- 631 views
Hey guys,
I'm new to the forum, and I was hoping to get a little assistance with my php script. I am failry new to Dreamweaver and completely new to php scripting.
I am setting up a simple page in Dreamweaver for a friend to collect data from potential customers. I have built the page and used spry validation form fields to collect the data. I just need to add functionality to the form itself. I did a bunch of reading and found some tutorial videos on youtube, but I am still having trouble grasping it.
I found a php script from one of the tutorials and was instructed to edit it to reflect the form in the tutorial. The problem though is that I have already made my form and I am pretty sure the php code does not reference the fields in my form. I attached the php code as well as the html file in question.
I edited the email variables to reflect my php page and my friend's email address. I have two questions specifically. First, how to I edit the data variables section of the code to reflect my form fields on my page? And second, the bottom area of the code references a thank you message followed by a redirect to my friend's distributor's website. It doesn't seem to reference a seperate thank you page of any kind, how does it show the message? Does the script recode the webpage to display it or something?
Sorry if these are newbie questions, just not sure how to proceed and php is a completely new thing for me. I appreciate any assistance and thank you for reading. Please let me know if I need to provide any additional info! Thanks!!!
Jayson
