Jump to content

PHP Enrollment app


amazon3d

Recommended Posts

HTML is how the page looks. PHP is how you process data and create dynamic content.

 

That being said. You'll design your HTML pages with appropriate fields, when the user clicks next the data should be processed on the same page and stored in session variables or some similar method... if validation fails redisplay the page and make users fix errors. Go to the next page and repeat... when the final submit is pressed and validated you'll aggregate all of the session variables to create a message string and then use the mail function to send an email.

 

This is of course the high level logic. I'd suggest you write out a list of requirements basically saying what the script should do, mock up screenshots in photoshop or something similar of how you want them to look. Build them out as raw HTML, implement the appropriate validation in PHP, test that everything works and finally figure out how to send an email.

 

Coming up with a solid repeatable process is a good way to start writing good/well documented and thought out code. It also helps to break a large project (for you) down into smaller more manageable pieces.

Link to comment
https://forums.phpfreaks.com/topic/63376-php-enrollment-app/#findComment-315904
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.