Let's Get Started with a PHP/MySQL Form Page!
- Open Notepad++
- Choose:
File -> New
- Copy the PHP Form Template (PHP) code (below)
- Paste that code into your new file
- Change the put-title-of-this-page-here
- Click: File -> Save As
- Name your file: \www\form.php
- Change the
Save as type:
to: PHP Hypertext Preprocessor (*.php)
- Click: Save
- Visit your page (http://buffalo.edu/form.php) in your favorite web browser
- Make any changes
- Save your changes
- Fill in the form fields
- Submit your form
- View your
form.php
page to see if the temperatur conversion worked
- Change:
$debug = 0;
to: $debug = 1;
- Add another record to see the debug messages
PHP Form Template (PHP)
Output