| 1 comments ]

PHP is scripting language include with HTML (Hypertext Markup Language) and running at serverside. It means all sintaks will be running at server and just result was send to browser.

Before start the PHP you must running well server web and PHP scricpt . To create web with PHP script you just using teks editor.

Function in PHP is uncase sensitive, but the variable is case sensitive (different between Uppercase and Lowercase). PHP script beginning with symbol “<� and then ending using with symbol “>�.

3 mothode to type PHP script, there are :

1.

PHP script

?>

2.

PHP script

?>

3.

Each instruction separate by comma symbol (;). For create or add commentar using method :

/* Comment */

// Comment

# Comment

File Practise lat1.php

</p> <p>Simple practice</p> <p>

echo (”hello word ? My name is PHP script”);

?>

File Practise lat2.php

Simple practice script PHP

Date :

/* script to print out date using command echo*/

echo date(’d F Y’);

echo ‘
’;

?>

Date :

//script to print date using command print

print (date(’d F Y’));

?>

most of the beginner leave this basic and go direct to modified script, this is wrong, the important thing is basic and must learn it. so check this out, try remember and practice all fundamental before go to the next level.

for more information, visit (http://justi.dagdigdug.com/2008/06/02/basic/)

1 comments

Vivek said... @ November 12, 2012 at 1:16 AM

wow,
this was really useful post, this is one amazing article! Thank you for posting this.

Hire PHP Programmer

Post a Comment