- PHP stands for PHP: Hypertext Preprocessor
- PHP is a server-side scripting language, like ASP
- PHP scripts are executed on the server.
- PHP supports many databases (MySQL, Informix, Oracle, Sybase, Solid, PostgreSQL, Generic ODBC, etc.)
- PHP is an open source software (OSS), This means its free to use and isnĘžt being controlled by a single entity. It is being developed by a group of developers
- PHP syntax resembles that of JavaScript and ActionScript in different ways.
- PHP is free to download and use.
- PHP files may contain text, HTML tags and scripts.
- PHP files are returned to the browser as plain HTML.
- PHP files have a file extension of ".php", ".php3", or ".phtml".
- PHP can be written in any text editor.
- PHP script will be located inside special tags, much like JavaScript
- e.g. <?php //php script here ?>
- PHP code can be located any where in the page.
- PHP is case sensitive.
- Every variable in PHP will have the $ symbol as a prefix
- e.g. $myName =“John”;
- Every line of code MUST be terminated with a ; symbol.
Why PHP?