PHP Code Snippets


Table Of Contents

External Resources / Tutorials

Working With Variables



Math Operators



Comparison Operators



Escape Characters



If/Else Statements



If/Elseif Statements



Arrays



For and While Loops



Functions



Generate Random Numbers



<?php
  //rand(min, max);
  echo rand(5, 15);
?>
					

String Manipulation



Include() Function



Templating Out a Website



Require_Once to Template Out a Website