Welcome to my short basic PHP guide! I may make more or these.
PHP is used to add functionality to HTML. You can use PHP with MySQL to create forums, and PHP on its own to create login systems and others.
PHP code always starts with :
You put the code you want between the open and closing statements.PHP Code:
<?php
?>
If we wanted to say hello on the screen, we would use 'echo'.
Example :
That would print out "Hello there!".PHP Code:
<?php
echo "Hello there!";
?>