We start php with symbol <? and end with with ?>.
Let us look how to write a simple php to print your name
first you need to write html
<html>
<body>
<?
echo "This is to show how to print";
?>
</body>
</html>
here echo is the function to print to screen in php.save this code as leason1.php and run on your server
Continue Reading...
Let us look how to write a simple php to print your name
first you need to write html
<html>
<body>
<?
echo "This is to show how to print";
?>
</body>
</html>
here echo is the function to print to screen in php.save this code as leason1.php and run on your server
