Showing posts with label Tutorial. Show all posts
Showing posts with label Tutorial. Show all posts

Friday, September 10, 2010

Synatx for PHP

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...

PHP basics

Let us study PHP, PHP is a very simple language.It is a powerful language for developing websites. PHP is called the Hypertxt preprocessor.You just need some basic knowledge about HTML language to study PHP. Let us look what all are the tools you need to run php as localhost.
1 .Server (You need an Apache server or any sever to run php,click here to download XAMP)
2. Notepad or Dreamwever

PHP is an open source softwarePHP is free to download and use.PHP file is saved as .php and it can be placed in the html code.



Continue Reading...
 

Blogroll

Site Info

Text

Free PHP Scripts Copyright © 2009 WoodMag is Designed by Ipietoon for Free Blogger Template