PDA

View Full Version : Basic PHP Tutorial - 1



ctt1010
10-31-2014, 09:21 PM
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 :


<?php
?>

You put the code you want between the open and closing statements.

If we wanted to say hello on the screen, we would use 'echo'.

Example :


<?php
echo "Hello there!";
?>

That would print out "Hello there!".

petchoo
11-26-2016, 12:06 AM
poste more