CodesJava

Easy learning with example program codes

PHP program to display Text messages

PHP program to display Text messages:

The below program is to display text messages. The PHP echo and PHP print statement are used to output the result on the screen.
Example

<!DOCTYPE html>
<html>
<body>
 
<?php
print "<h1>Mc Donalds</h1>";
print "Burger!<br>";
print "I'm Loving It!<br>";
?>
 
</body>
</html>

Output

Mc Donalds
Burger!
I'm Loving It!
Please follow and like us:
error
Posted in PHP   








Copyright © 2019 CodesJava DMCA.com Protection Status