Coming soon.
This resource presumes you already work with an environment that runs PHP. As a code repository of sorts, this resource progresses from basic to advanced example of PHP.
Starting and ending PHP code:
<?php ?>
Adding a comment in PHP:
<?php // Comments are useful for notating your code. Comments are not displayed in browsers. ?>
Output text to browser using PHP:
<?php // Whatever's inside the quotation marks will be shown in the browser. echo "Some text."; ?>
Output HTML to browser using PHP:
<?php // Whatever's inside the quotation marks will render as HTML in the browser. // Note the use of single quotations vs. double quotations. echo "<p class='someclass'><a href='somewhere.html'>Some text.</a></p>"; ?>
