Hi… welcome in my page in “We Are Knowledge”. In here I want
giving you many IT knowledge. And now I want giving you tutorial about “PHP”.
You know PHP ??? Yes that’s right.. PHP is language web
programming. Example PHP is Kas*us, Fac*book. That web using PHP for making.
For learn PHP you must having application likely “XAMPP”. It is
software for making local server. And you not need buying, because the software
was be in internet. And you just find and download it.
Previous you must learn “HTML” before you learn “PHP”. Because if
you was understanding “HTML” you want easy understanding “PHP”.
If done.. Let’s read it.
Structure PHP
<?php
// syntax of php put In here
// PHP code must terminated ';'
?>
Logic
<?php >> start in making coding
// >> comment
?>
>> Last of program coding
This example 1.
You can copy and paste in notepad.
<?php
echo "Hi... Visitors"."<br>";
echo "Welcome in PHP world";
?>
Logic :
“<br>” >>
for new line.
You must saving in
If you install “XAMPP” in drive “C”
c:\xampp\htdocs\adsanse\latihan1.php
If you install “XAMPP” in drive “D”
d:\xampp\htdocs\adsanse\latihan1.php
And for workingthe program you can double click in file. And you
also can drag of file in search engine. Or you open search engine and follow
this syntax
http://localhost/adsanse/learn1.php
And result of example is:
Hi... Visitors
Welcome in PHP world
Welcome in PHP world
Example 2:
I want giving you examples of the most long
You can copy this coding, and paste in your notepad
<?php
echo "Hi.. Welcome in my page
In"."<br>";
echo "HAVE - FUN - AND - ENJOY . BLOGSPOT .
COM"."<br>";
echo "Let's read in my
article"."<br>";
echo "And This is Example from
PHP"."<br>";
echo "C'mon reading my other
article"."<br>";
?>
Result :
Hi.. Welcome in my page In
HAVE - FUN - AND - ENJOY . BLOGSPOT . COM
Let's read in my article
And This is Example from PHP
C'mon reading my other article
HAVE - FUN - AND - ENJOY . BLOGSPOT . COM
Let's read in my article
And This is Example from PHP
C'mon reading my other article
Ok.. just it..
This just opening in PHP…
Thanks for you…
See you later…
No comments:
Post a Comment