Define PHP the Long Way

Status
Not open for further replies.

Baljeet

Member
Jan 31, 2011
76
0
Hi everyone! Now everyone knows you define a PHP script like this:

PHP:
<?php echo "Hello World"; ?>

However, I recently learnt that there is another way to achieve this - like this:

PHP:
<script language="php">echo "Hello World";</script>

It's not much of a tutorial, but I just thought it was interesting to show. :)

All Credits goes to one who really made this...
 
Status
Not open for further replies.

Users who are viewing this thread

Top