PHP Tutorial





Español Français 中文 Deutsch Portuguese Japanese nederlands
   
 
PHP Topics
Introduction Introduction
Syntax Syntax
Data Types Data Types
Operators Operators
Control Structures Control Structures
Functions Functions
Pre-defined Function Pre-defined Function
Calendar Functions Calendar Functions
Date and Time Date and Time
Array Functions Array Functions
Array List Array Functions List1
Array Function List Array Functions List2
Math Functions Math Functions
PHP MYSQL Functions PHP Mysql Functions
File Handling File Handling
Error Handling Error Handling
DB Size DB Size
PHP Mail PHP Mail
String Tokens String Tokens
String Functions String Functions
String Functions List String Functions List1
String Functions List2 String Functions List2
Session Functions Session Functions
Cookies Functions Cookies Functions
Form Variables Form Variables
Examining variables Examining variables
Filter Functions Filter Functions
PHP Filters PHP Filters
Running PHP from JS Running PHP from JS
Array To JS Array To JS
JS Array Array to PHP
Encryption Encryption
Common Header Common Header
Forums Ask Your Doubts
Scraps More about PHP
Feedback Feedback
 




Learn PHP Programming Language Tutorial Online

Tutorial Index


Syntax

Syntax of PHP file

Datatypes

DataTypes
Boolean
Integer
Double
String
Array
Object
Resource
NULL
Type Conversion
Variables

Operators

Operator Precedence
Arithmetic Operator
Assignment Operator
Bitwise Operator
Comparison Operator
Ternary Operator
Error Control Operator
Execution Operator
Increment/Decrement
Logical Operator
String Operator
Array Operator
Type Operator

Control Structures

IF Structure
Else Structure
Else IF
While
Do While
For
For each
Break
Continue
Switch
Declare
Return
Require
Require Once
Include
Include Once
Goto
Functions
User Defined Functions
Passing Arguments
Returning Values

Pre-defined Function

Predefined Functions

Calendar Functions

Days in Month
Calendar Information
Easter Date
Easter Days
Julian Day Functions

Date and Time

Date Time Functions
Date
Time
Check date
Create date
Get default timezone
Set default timezone
Date Format
Parse Date
Sun Date
Sunrise date
Sunset date
Get date
Get time
Gmdate
Gm mktime
Gm strftime
Idate
Localtime
Microtime
mktime
strftime
strptime
strtotime
Timezone open
Alias Time/Date

Array Functions

Array Function
Length of array
inArray
Sort Reverse
sizeof
Sort
Array Chunk
Array Combine
Array count values
Array Key exists
Array Keys
Merge Array
POP Array
PUSH Array
Random array
Array Reverse
Search Array
Array Shift
Slice Array
Splice Array
Array SUM
Unique Array
Unshift Array
Array Values

Array Functions List1

Change Key Case
Array Diff Assoc
Array Diff Key
Array Diff UAssoc
Array Diff UKey
Array Diff
Array Fill Keys
Array fill
Filter Array
Array Flip
Array Intersect Assoc
Array Intersect Key
Array Intersect Uassoc
Array Intersect UKey
Array Intersect
Map Array
Merge Recursive
Multisort
Array Pad
Product Array
Reduce Array
Array Udiff Assoc
Array Udiff Uassoc
Array Udiff
Array UIntersect Assoc
Array UIntersect Uassoc
Array UIntersect

Array Functions List2

Array Walk Recursive
Array Walk
arsort
asort
Compact
Current
Each Function
End
Extract
Key
krsort
ksort
List
Natcase sort
Natsort
Next
Position
Prev
Range
Reset
Shuffle
uasort
uksort
usort

Math Functions

Abs
Trignometric
bindec
decbin
dechex
decoct
hexdec
octdec
Base Converter
ceil
deg2rad
exp
expm1
floor
fmod
getrandmax
hypot
isfinite
is infinite
is nan
lcg value
log10
log1p
log
max
min
mt getrandmax
mt rand
mt srand
pi
pow
rad2deg
rand
round
sqrt
srand

PHP Mysql

Mysql Functions

File Handling

Count Lines
File Size
File Reading
Reading Lines
Creating File
File Writing
File Append
File Permission

Error Handling

Stop Error
Restrict Errors
Error Levels
Error Mailing
DB Size

PHP Mail

ezmlm hash
Mail
Send Mail
String Tokens

String Functions

Addslashes
bin2hex
chr
echo
explode
implode
ltrim
md5
nl2br
ord
print
print_r
printf
rtrim
sprintf
String Replace
str_pad
str_repeat
str_replace
str_shuffle
str_split
str_word_count
strcasecmp
strcmp
strip_tags
stripos
stristr
strlen
strpos
strrchr
strrev
strstr
strtolower
strtoupper
substr_replace
substr
trim
ucfirst
ucwords

String Functions List1

addcslashes
chunk_split
convert_cyr_string
convert_uudecode
convert_uuencode
count_chars
crc 32
crypt
fprintf
get_html_translation_table
hebrev
hebrevc
html_entity_decode
htmlentities
htmlspecialchars_decode
htmlspecialchars
lcfirst
levenshtein
localeconv
md5_file
metaphone
money_format
nl_langinfo
number_format
parse_str

String Functions List2

quoted_printable_decode
quoted_printable_encode
quotermeta
setlocale
sha1_file
sha1
similar_text
soundex
sscanf
str_rot13
strcoll
strcspn
stripcslashes
stripslashes
strnatcasecmp
strnatcmp
strncasecmp
strncmp
strpbrk
strripos
strrpos
strspn
strtok
strtr
substr_compare
vfprintf
vprintf
vsprintf
wordwrap
alias string function
Session Functions

Cookies Functions

Set cookie
Set raw cookie

Form Variables

POST Method
GET Method
Upload Files
REQUEST Method

Examining Variable

is_int()
is_float()
is_bool()
is_string()
is_array()
is_object()
is_numeric()
unset()
empty()

Filter Functions

filter-has-var()
filter-id()
filter-input-array()
filter-input()
filter-list()
filter-var-array()
filter-var()

PHP Filters

filter-callback()
filter-sanitize-string()
filter-sanitize-encoded()
filter-sanitize-special-chars()
filter-sanitize-url()
filter-sanitize-email()
filter-sanitize-quotes()
filter-sanitize-float()
filter-sanitize-int()
filter-validate-int()
filter-validate-boolean()
filter-validate-float()
filter-validate-regexp()
filter-validate-url()
filter-validate-email()
filter-validate-ip.php()

PHP from JS

Running PHP from JS

PHP Array To JS

Array To JS

JsArrayToPHP

Array to PHP

Simple Encryption

Encryption

Header and Footer

Common Header

Introduction

PHP - Hypertext PreProcessor is a server-side scripting language for creating dynamic and interactive websites. It is widely-used as an alternate to ASP. It is perfectly suited for Web development and can be embedded directly into the HTML programming code.

PHP is used where data processing is required; where the scripting language access and process data from the database and displays the result. Learn the Hypertext Preprocessor programming tutorial online with example. As you read more you will understand it well.


A Note

Learn PHP programming language tutorial with simple and neat example. Hope you enjoy this free tutorial. Do give us your valuable feedback and suggestions on this online tutorial. This is a Copyright Content.

Other Links

web hosting