What is PHP
PHP = Hypertext Preprocessor . PHP is open source and free to install and use. PHP used to web server that so single website can online and usually PHP makes Web dynamic.
For try and learn you will need install PHP 5 and mysql for database
some developer provides one package like :
- Appserv
- Website http://www.appservnetwork.com/
- Download version 2.5.10
- Apache 2.2.8
- PHP 5.2.6
- MySQL 5.0.51b
- phpMyAdmin-2.10.3
- Download version 2.6
- Apache 2.2.8
- PHP 6.0.0-dev
- MySQL 6.0.4-alpha
- phpMyAdmin-2.10.3
- Apache 2.2.4
- PHP 5.2.3
- MySQL 5.0.45
- phpMyAdmin-2.10.2
- Xampp
- Website http://www.apachefriends.org
- Download for windows http://www.apachefriends.org/en/xampp-windows.html
Today Action is we says "Hello world :)"
after install appserv or xampp
create new php files
and write
<?php
echo "hello world :)";
?>
To start php always write
<?php
and ending with
?>
you can write php at html where ever you wants
eg :
<?php
echo "hello too ";
?>
<table>
<tr>
<td>
<?php
echo "hello";
?>
</td>
</tr>
</table>
continue to next tutorial
No comments:
Post a Comment