Codepath

PHP Primer

Online resources

Key concepts to understand

  • How to use PHP tags to embed PHP code

  • Using echo for output

  • Using semicolons to end lines

  • Simple dynamic output

<?php echo "Join" . " strings"; ?>
<?php echo 6 + 3; ?>
  • How to add code comments in PHP

  • How to use phpinfo() to view configuration

Fork me on GitHub