daily pastebin goal
41%
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!
  1. Basic PHP Syntax
  2.  
  3. A PHP script can be placed anywhere in the document.
  4.  
  5. A PHP script starts with <?php and ends with ?>:
  6.  
  7. Downlod file on media fire : http://ow.ly/f3pb30i3SFe
  8.  
  9. The default file extension for PHP files is ".php".
  10.  
  11. A PHP file normally contains HTML tags, and some PHP scripting code.
  12.  
  13. 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:
  14.  
  15. Example
  16.  
  17.      Download file on media fire :   http://ow.ly/abGZ30i3TqE
RAW Paste Data
Pastebin PRO WINTER Special!
Get 40% OFF Pastebin PRO accounts!
Top