How To Create A Simple Hello World Script
This is a simple tutorial on how to create a simple PHP Hello World script. This basic knowledge will get the novice PHP Programmer get started with building their first PHP script. First off we will need to create the delimiters for PHP as follows:
<?php
……
?>
This will allow you to paste the code so that the server can begin translating what is between the PHP delimiter tags. Every PHP programmer is very familiar with these delimiters and uses them in most or all of their PHP development.
Our next step will show you how to “Print” or echo the PHP Hello World Text to the browser page.
<?
echo “Hello, World!”;
?>
This is what your output will look like:
Hello, World!
That is it! Our PHP Programmer has shown you how to create a simple Hello World PHP script. Now go try it out on your server and come back and leave a comment as to how it went or other suggestions that you may have.
This is a basic tutorial on how to create a PHP Hello World script for a novice PHP Programmer.