Oct 12, 2024
.html
to .php
.htdocs
directory for your PHP code.localhost/foldername/filename.php
.<?php ... ?>
tags.echo
to display output; example: echo "PHP is great";
//
or #
/* ... */
$VARIABLE_NAME = value;
$var
vs $Var
).class
and new
keywords.if (condition) {...} else {...}
case
and default
.function functionName() {...}
.