PHP Syntax


PHP Vidyalaya

The syntax for php is shown below. It starts with the opening tag

and ends with the closing tag

In between we will write our code.

A php file will be having the extension .php. HTML’s can be also embedded into a php file. Php scripts are executed on the server and the results are displayed on the web broswer ie firefox or chrome. Each code line in php must end with a semicolon (;) .  Now we will move on to writing your first php program on the next tutorial.

View original post

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s