Searching...
22 Nisan 2013 Pazartesi

PHP First Tutorial - Hello World!

Beginning...

This is first PHP article.

Article's Objectives:

  • Learn <?php and ?> tags
  • Output 'Hello World!'

PHP Start and End Tags

PHP Start Tag

<?php
This tag start PHP coding. After this tag you can ONLY use PHP tags and functions.

PHP End Tag

?>
This tag end PHP coding. After this tag you CAN NOT use PHP tags and functions.

PHP Echo and Print

If you use echo or print functions, you can write HTML coding. First example is very basic.
<?php
echo "Hello World!";
?>
If you want , you can use with print. Let's example:
<?php
print "Hello World!";
?>

Homeworks ( Ooh No! )


  1.  Write 'I'm a coder' with red color and underline.

Sonraki Kayıt
Previous
This is the last post.

0 yorum:

Yorum Gönder