Q. In PHP, each statement must end with ______
- . (dot)
- ; (semicolon)
- / (slash)
- : (colon)
Answer: ; (Semicolon)
PHP structure
PHP
PHP (recursive acronym for PHP: Hypertext Preprocessor) is a widely-used open source general-purpose scripting language that is especially suited for web development and can be embedded into HTML.PHP is a server scripting language and a powerful tool for making dynamic and interactive Web pages.PHP is a widely-used, free, and efficient alternative to competitors such as Microsoft's ASP.
PHP structure
<html>
<body>
<?php
echo "My first PHP script!";
?>
</body>
</html>
<body>
<?php
echo "My first PHP script!";
?>
</body>
</html>
Each statement in PHP ends with ;(semicolon)
No comments:
Post a Comment
What you have to say about this?