Forum

Number Of Page View:100,000+/Months
LOGIN |New User

Reply

Tell me about basic statements that we used in PHP? 
PHP has two basic statements.These are echo and print.I have given you a example say how to use echo and print in PHP.
Example:
<html>
<title>This is my first PHP page</title>
<body>
<?php
echo "Welcome!";
?>
</body>
</html>
////
<html>
</body>
<?php
$decimal_number = 109.09;
printf("%.2f", $decimal_number);
?>
</body>
</html>