PHP introduction
PHP is a powerful tool for creating interactive and dynamic web pages. To get skilled in PHP, you should have a basic understanding of HTML/XHTML and JavaScript.
PHP stands for Hypertext ...
PHP Operators
Arithmetic Operators
Operator
Description
Example
Result
+
Addition
x=2
x+2
4
-
Subtraction
x=2
5-x
3
*
Multiplication
x=4
x*5
20
/
Division
15/5
5/2
3
2.5
%
Modulus (division ...
PHP While Loops
The idea of a loop is to do something over and over again until the task has been completed.In PHP, we have the following looping statements:
while - loops through a block of code ...
What is an Array?
A variable is a storage area holding a number or text. The problem is, a variable will hold only one value.
An array is a special variable, which can store multiple values in one single ...
What is PHP?
PHP stands for PHP: Hypertext Preprocessor
PHP is a server-side scripting language, like ASP
PHP scripts are executed on the server
PHP supports many databases (MySQL, Informix, ...
What are the different functions in sorting an array?
Sorting functions in PHP:
asort()
arsort()
ksort()
krsort()
uksort()
sort()
natsort()
rsort()
What is view state?
The web is stateless. But in ASP.NET, the state of a page is maintained in the in the page itself automatically. How? The values are encrypted and saved in hidden controls. this is ...
