Let's Get Started with a PHP Input/Output Page!
- Open Notepad++
- Choose:
File -> New
- Copy the PHP Input/Output Template (PHP) code (below)
- Paste that code into your new file
- Paste that code into your new file
- Change the put-title-of-this-page-here and
put-welcome-heading-here strings.
- Click: File -> Save As
- Name your file: webio.php
- Change the
Save as type:
to: PHP Hypertext Preprocessor (*.php)
- Click: Save
- Save this file groceries.txt to your web folder
- Start your local web server if it is not already running
- Visit your page (http://localhost/io.php) in your favorite web browser
- Make any changes
- Save your changes
PHP Input/Output Template (PHP)
Output