Chapter 1: Adding Life to Web Pages with PHP
- Goals
- Learn the basic syntax and commands of PHP
- Terms
- HTML
- PHP
- Web Form
- Browser
- <?php ?>
- Variable
- Quotes
- Echo
- $_POST
- Web Server
- Array
- Superglobal
- Mail()
- Concepts
- HTML on Client side
- PHP on Server side
- PHP Syntax and command structure
- Resources
- Graphical Secure File Transfer Applications
- SSH (Secure Shell) Client
- Terminal (Mac) – is already on all Macs
- PuTTY (Windows and Unix)
- HTML Editor
- phpMyAdmin
- Head First PHP & MySQL Book
- Projects
- Aliens Abducted Me HTML Form
- Build a HTML form
- Read pages 1 – 7 in book
- Create report.html
- You can download from the Head First web site linked above.
- It’s in the chapter 1 download titled cho1
- within the initial folder
- Publish the initial folder, with the report.html file in it, on your hulk account
- Post a blog entry detailing what you learned and place a link to your report.html file on hulk
- Build a HTML form
- Aliens Abducted Me PHP Form
- Build aPHP form
- Read pages 8 – 57 in book
- Create report.php
- You can download from the Head First web site linked above.
- It’s in the chapter 1 download titled cho1
- within the final folder
- Publish the final folder, with the report.php file in it, on your hulk account
- Post a blog entry detailing what you learned and place a link to your report.php file on hulk
- Build aPHP form
- Quiz at end of exercises
- Be prepared to Answer all three of the Brain Power questions and both Sharpen Pencil challenges
- Aliens Abducted Me HTML Form
Chapter 2: Connecting to MySQL with PHP
- Goals
- Learn how to connect PHP to MySQL database and enter data from a web form
- Terms
- MySQL database server
- Database
- Table
- query
- mysqli_connect()
- mysqli_close()
- mysqli_query()
- mysqli_select_db()
- Concetps
- Database interactivity with PHP scripts
- Resources
- Projects