Advertisement
xZero

PHP Variable usage example

Dec 22nd, 2014
179
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.30 KB | None | 0 0
  1. <?PHP // Define PHP code begin <? is not recommended!
  2. $TextHolderVariable="Hello World!"; // Text will be stored under that variable - http://php.net/manual/en/language.variables.basics.php
  3. echo $TextHolderVariable; // echo print outs variable defined text to screen
  4.  
  5. // >? defines PHP code end
  6. ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement