SHARE
TWEET
Basic PHP Syntax
a guest
Jan 29th, 2018
51
in 29 days
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
- Basic PHP Syntax
- A PHP script can be placed anywhere in the document.
- A PHP script starts with <?php and ends with ?>:
- Downlod file on media fire : http://ow.ly/f3pb30i3SFe
- The default file extension for PHP files is ".php".
- A PHP file normally contains HTML tags, and some PHP scripting code.
- Below, we have an example of a simple PHP file, with a PHP script that uses a built-in PHP function "echo" to output the text "Hello World!" on a web page:
- Example
- Download file on media fire : http://ow.ly/abGZ30i3TqE
RAW Paste Data

