PHP scripts are generally saved with the file extension .php.
Usually one line of code contains just one statement, but we can have as many statements on one line as you want.
PHP Opening and Closing Code is <?php and ?>
<?php
echo "Hello World<br><h1>Hello From MaHi</h1>";
?>
Hello World
Hello From MaHi
Usually one line of code contains just one statement, but we can have as many statements on one line as you want.
PHP Opening and Closing Code is <?php and ?>
Hello World! Example:
<?php
echo "Hello World<br><h1>Hello From MaHi</h1>";
?>
The code above generates the following result.
Hello World
Hello From MaHi
No comments:
Post a Comment