The basic syntax of PHP

learn ... and learn it that must be held so that we can continue in something to be achieved
like today I am still learning so that it could be a programmer
Now we learn about the basic syntax of PHP
strange if we want belejar PHP but did not know the syntax basically .....
just ..........


There are four different ways of writing PHP code, namely:
<? echo ("This is a PHP script \ n");?>
<? Php echo ("inijuga \ n");?>
<script language="php">
echo ("write this pake html editor if you do not recognize PHP");
</ script>
<% echo ("if that is similar to the ASP");%>
Most often used is the first and second ways. Note that each end of the line must always be a semicolon (;).
To add a comment line in PHP way is to put those comments to the right of the sign / / if the comment one line and between / * and * / if more than one line comments.
<? echo ("exercise PHP"; / / this is a comment one line
/ * If this is a comment
more than one line * /
echo ("Make it easy ..???");
?>

Posted in , . Bookmark the permalink. RSS feed for this post.

Leave a Reply

Pages

Search

Sandiah Notes Template Sandroid11.blogspot.com.