Primitives (atomic values) Variable Interpolation (Double quotes vs single quotes) Some Native Functions to PHP Escaping Output: htmlentities() nl2br()
- Identify a PHP page
- Construct a PHP page
- Show how to create a variable
- Demonstrate an if/else statement in PHP
- Deomonstrate an if/elseif/else in PHP
- Demonstrate a switch statement in PHP
- PHP is a programming language.
- Evaluate form data from browswer
- talk to database
- looks like HTML
- PHP basics
- echo
- variables
- comments
- comparisons
- Conditions
- Primatives
- arrays
- variable interpolation
- Serverside
>Greater than<Less than<=Less than or equal to>=Greater than or equal to==Equal to!=Not equal to
if/elseHandle two conditionsif/elseif/elseCan handle more than two conditionsswitchmultiple options based on value of variable
- Same as before, different syntax
- Add tasks by clicking the mouse instead of pressing ENTER
- Add tasks when the user clicks on the letter J
- Bonus: Bold the text inside the new task. I.e.
<li><b>New Task</b></li> - Bonus: Add a delete button to remove a tasks
- Bonus: Add a button to remove all list items