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
Friday, September 10, 2010
Subscribe to:
Post Comments (Atom)
0 comments:
Post a Comment