Jump to content

Need Advice/Help


Spinman
 Share

Recommended Posts

Hello All,To start off with I need to let you know I've done next to no php coding in my life and am giving myself a crash-course in it at the moment on the tutorials. I posted in the html/xhtml forum a few days ago with a problem and all of the responses lead me to needing to ask a question in here. I've built a registration form and need help or advice in writing the submission function for the form. I need the function to do three things: send an email to the address the attendee uses; store the information somewhere in such a way that I can load the information into an excel spreadsheet; take the user to a thank you page saying an email has been sent to the address with a confirmation of receiving the registration. Can you guys give me any help in this? I appreciate any thoughts, comments or ideas you might have.Thank You,Spinman

Link to comment
Share on other sites

For processing the form in general, read the PHP Forms tutorial on the w3schools site, or check the sticky PHP tips thread in this forum. For sending email, you can use this PHP function:http://www.php.net/manual/en/function.mail.phpThere are examples on the page. Writing an Excel file is a little more difficult, there aren't any built-in libraries to work with Microsoft formats. You can download a third-party implementation of something that can read and write Excel files though, this should give a good start:http://www.google.com/search?client=opera&...-8&oe=utf-8There's nothing special about a thank you page, after you send the mail and edit the file you can write whatever message you want.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...