PHP Syntax
PHP is a scripting level language that is very powerful. It is enbedded within HTML tags . PHP always starts with a block, like so.
<?php
?>
To show text you either use the ( echo ) tag or the ( print ) tag. Like so:
<html>
<body>
<?php
echo " my page"
?>
</body>
</html>
Comments will look like this.
//comment here
A comment block will look like this:
/* this
is a
blocked comment*/
That is the simple PHP syntax. Thank you for reading and there will be more to come.
Sincerely,
Brick
Tags: comment, Echo or print, PHP, Syntax
Leave a Reply
You must be logged in to post a comment.