PHP Logo |
Working in the PHP
to be able to work with PHP, we need first to install XAMPP. Understanding XAMPP is an application that can encapsulate multiple application servers sekaligus.Untuk more clearly on the application server:
X Multi platform, Windows, Linux, Mac OS, and Solaris
A Apache HTTP Server
M MySQL Database Server
P PHP Scripting Language
P Perl Scripting Language
Examples of basic PHP
example below is a basic example of the result is scored my first PHP script. copy and paste in your text editor and save the file extension [dot] php example phpku.php and save into htdocs. run the web server by typing in the Navigator Toolbar. as an example:
localhost/namafolder/filephpanda.php
<!DOCTYPE html>
<html>
<body>
<?php
echo "PHP pertamaku";
?>
</body>
</html>
<html>
<body>
<?php
echo "PHP pertamaku";
?>
</body>
</html>
Tidak ada komentar:
Posting Komentar