Learn - Develop - Deploy - Enjoy

PHP Hello World Script

February 15th, 2008 Sam

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

Hello world!

December 26th, 2007 Sam

Welcome to WordPress. This is your first post. Edit or delete it, then start blogging!

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