Download presentation
Presentation is loading. Please wait.
Published byPercival Lawrence Modified over 9 years ago
1
PHP Overview
2
What is PHP Widely available scripting language Free Alternative to Microsoft’s ASP Runs on the Web Server; not in the browser Example: http://www.w3schools.com/php/showphp.asp?filename=demo_intro
3
Variables and Data Types Can store text or numeric values in variables http://www.w3schools.com/php/showphp.asp?f ilename=demo_var Can store Strings, integers, boolean, arrays objects and null
4
Operators. If..else..elseif Supports operators as in many other languages, as you would expect http://www.w3schools.com/php/showphp.asp?f ilename=demo_oper_addition http://www.w3schools.com/php/showphp.asp?f ilename=demo_oper_addition http://www.w3schools.com/php/showphp.asp?f ilename=demo_oper_multiplication
5
Form Handling Handles HTML form submissions very well Great for interacting with a database Form submissions explained here: http://www.w3schools.com/php/php_forms.asp
6
Echo and Print echo and print both output data to the screen echo can be used without parentheses: echo or echo() Text can contain HTML markup Can display the contents of variables Tip: Use vardump($foo) when debugging and you want to know the content of a variable See w3Schools for more information
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.