ezarticlelist.com
   Index Page -> About Us -> Privacy of Info -> Terms of Use -> Add Url -> Add Article
Search:   
   

Home & Garden

   

People & Communities

   

Self Enhancement

   

Automotive

   

Property & Agents

   

Adventure & Sports

   

Business & Services

   

Recreation & Entertainment

   

Law & Politics

   

Finance & Banking

   

Indoor Games

   

Children

   

Academics & Learning

   

Hygiene & Health

   

Medicine & Treatment

   

Science & Research

   

Online Shopping

   

Jobs & Employment

   

News & Media

   

Eating & Drinking

   

Computers & Networking

   

Culture & Art

   

Tour & Travel

   

Relationship & Lifestyle

 

Index Page » Computers & Networking » Web Development Services
 

PHP basics

 
PHP basics

You should always begin a PHP page with <?php and end with ?>
Your php code should go between <?php and end with ?> . You can for example code php , close , then add html code in between as below.
<?php Code ?>
We define a variable in PHP as follow, by the way a variable is anything we use as a shortcut to value.

= "hello World";
The above example will print hellow World.

We call a variable by echoing or simply including it in php as follow :
echo ; or ;
Don't forget to ; at the end of a variable.

Html code here
<?php rest of php code and end with ?>

Always save a php page in a .php extention. For example, you save example as example.php, otherwise your php code will not work.

Visit websitedevelopmentanddesign.com
for more free web design and development articles

Author: Robert Palmer
 
Author Bio:

About The Author: William Wynn a Fashion Designer and Manufacturer of apparel for over 15 years. So stop by and visit me at www.plussizefigure.com for more great clothing.

 
 
 

Related Articles

 
Sourcing For Drop Shippers
 
Attracting Traffic with Banner Ads
 
Is your Best Friend a Hack?
 
Cheap Web Hosting with GoDaddy
 
What Makes Toshiba Laptops So Good?
 
Explode Your Website Traffic Like an Atom Bomb
 
Find the Free Spyware Removal Program Perfect for You
 
Introduction To Regular Expressions In PHP
 
Guide to buying Hard Drives
 
Google Adsense - The "Duplicate Content" Controversy
 
 
 
Index Page -> Privacy of Info -> Terms of Use  
Copyright © www.ezarticlelist.com - All Rights Reserved Worldwide.