PHP Variables
A variable is used to store any value that you like.
You can reuse variable in any block of code in your PHP script.
PHP variables must start with a dollar ($) sign.
PHP Variable Syntax
$variable_name = value;
Below is an example of how to use variables in PHP:
- Read more about PHP Variables
- 1 comment
- Log in or register to post comments
- 424 views
PHP Syntax
If you came from other programming languages like c/c++ and or Java, you will not have difficulty understanding PHP syntax as they have the same thing in common.
But unlike c/c++ or Java, PHP script is executed on the server and can be inserted within any HTML code and must start scripting block with <?php and end with ?>.
Below is an example of PHP file:
- Read more about PHP Syntax
- 1 comment
- Log in or register to post comments
- 509 views
Web-based Payroll Application
- Read more about Web-based Payroll Application
- 27 comments
- Log in or register to post comments
- 2287 views
Install WampServer
Before we start working with PHP/MySQL, you need to install WampServer first in your local computer. WampServer will allow you to run PHP script in your local computer without accessing live server.
Running PHP script locally will also speed up your development.
First download WampServer from http://www.wampserver.com/.
Download WampServer

In step # 3 select 32bit or 64bit.
- Read more about Install WampServer
- 1 comment
- Log in or register to post comments
- 520 views
PHP Requirements
Download PHP from: http://www.php.net/downloads.php
Download MySQL from: http://www.mysql.com/downloads/
Download Apache from: http://httpd.apache.org/download.cgi
If you don’t like to install each application separately, you can install WampServer from http://www.wampserver.com/.
- Read more about PHP Requirements
- 4 comments
- Log in or register to post comments
- 533 views
What is PHP
PHP is one of the best scripting language alternatives to Microsoft’s ASP. PHP is known as the language used by popular Content Management System or CMS like WordPress, Drupal, and Joomla.
PHP is used along with MySQL as the database backend. Both software are free and is licensed under GNU.
In this tutorial you will learn how to make PHP script using step-by-step procedure.
- Read more about What is PHP
- 4 comments
- Log in or register to post comments
- 685 views
PHP Tutorial
- Read more about PHP Tutorial
- 78 comments
- Log in or register to post comments
- 43526 views
Loan Calculator
- Read more about Loan Calculator
- Log in or register to post comments
- 116 views
Test CUP using memory with ProgressBar
- Read more about Test CUP using memory with ProgressBar
- Log in or register to post comments
- 42 views