Learn - Develop - Deploy - Enjoy

Howto: PHP Hello World Script

One of the First things you will ever do with PHP is create a Hello World Script.

Script 1

<?php

Print “Hello, World!”;

?>

Script 2

<?php

Echo “Hello, World!”;

?>

Script 1 & 2 do exactly the same thing the out the words Hello World!

Script 1 uses Print to Display Hello World!

Script 2 uses Echo to Display Hello World!

Share and Enjoy: These icons link to social bookmarking sites where readers can share and discover new web pages.
  • Digg
  • Sphinn
  • del.icio.us
  • Facebook
  • Mixx
  • Google
  • BlinkList
  • e-mail
  • Fark
  • Live
  • Technorati
  • TwitThis
  • YahooMyWeb
  • BarraPunto
  • Blue Dot
  • De.lirio.us
  • NewsVine
  • NuJIJ
  • Reddit
  • Slashdot
  • Smarking
  • StumbleUpon
  • Yigg
  • blogmarks

Leave a Reply