Login |  Register 
I regularly use your site to answer my PHP problems!
Matt
 

PHP Tags

The most important feature of a PHP script is the PHP tags without this the PHP engine won't know how to parse your code.

<?php

?>
Now we have got the basics of the PHP script lets do something with it. By making it right to the screen "Hello world".
<?php
echo "Hello World";
?>
There you go your first basic program that outputs the words Hello World.

Other PHP tag options

There are also three other types of PHP tags you can use:
<script language="PHP">

</script>

<%

%>

<?

?>
All of these work in the same way as the standard tags.

Comments to date: 432. Page 1 of 44. Average Rating:
WilliamSes   6:48pm on Wednesday, April 17th, 2019 
Hello. And Bye.
Williammar   4:48am on Wednesday, April 17th, 2019 
Hello. And Bye.
Richardref   6:21am on Tuesday, April 16th, 2019 
Hello. And Bye.
Rodneydaf   4:03am on Tuesday, April 16th, 2019 
Hello. And Bye.
JamesLycle   1:49am on Tuesday, April 16th, 2019 
Hello. And Bye.
Calvinbuipt   11:34pm on Monday, April 15th, 2019 
Hello. And Bye.
WilliamDow   9:02pm on Monday, April 15th, 2019 
Hello. And Bye.
Sunrisenut   5:37pm on Thursday, April 4th, 2019 
Три месяца назад у меня диагностировали рак.
Точнее рак легких.
Врачи поставили мне вторую стадию.
Мне было предложено пройти химиоте... read more »
Karattnen   11:17pm on Thursday, March 14th, 2019 
огого ??
Karattnen   11:16pm on Thursday, March 14th, 2019 
огого ??


Page: -1-   2    3    4    5    6   

security image
Written by Dominic Skinner
Last Updated: 2011-10-25 16:00:38