how to create a session in php

What is Session in php –:Cookies are stored on browser window means it stored on user side.  it is possible for a hacker to easily hack the cookie content to insert potentially harmful data in your application that might...

Continue reading

how to create cookies in php

What are the  Cookies -: Cookies are small files which are stored on a user’s computer.Cookies are store on user side in the computer. They are designed to hold a modest amount of data specific to a particular client and...

Continue reading

file handling in php

What is File Handling in php -: A file represents in a sequence of bytes on the storage disk where a group of related data’s are  stored. File is created for permanent storage of data. php provide a number of functions...

Continue reading

how to use string in php

String in php-:  String is a sequence  characters in php like a “hello netnic “. String is  used to store and manipulate text and php supports only 256-character set and so that it does not offer native Unicode...

Continue reading

how to define array in php

Array In php -:  We need to handle a large volume of data in terms of reading,processing and printing. to process such large amount of data we need a powerful data type that would facilitate efficient sorting accessing and...

Continue reading

function in php

Php function -: Like any other language function are same to other function.The real power comes its from php function. Php has more then 1000 function. A function is a small code which takes one more input in the form  of...

Continue reading

how to use loop in php

Looping in php -:  Suppose if we want to calculate all sum of integer 1 to 100 or more then 100. It is not possible in  IF statement. This will be written in this way sum = sum + n*n; This calculation called looping in php. In...

Continue reading

conditional statements in php

Condition Statement -: we have seen php program is a set of statements which are normally executed sequentially in the order in which they appear.this happens when no option or no repetition for certain calculation are necessary...

Continue reading

how to define data type in php

Data-Type introduction -: Data types in “php ”language is rich in its data type. The storage representation and machine instruction to handle constant differ from machine to machine. the variety of data types available allow...

Continue reading

how to use operator in php

Operator in php- Like any other programming language operator play a very important role in php. Operator is a symbol as like +, -, *, / , etc. Operators are used to perform operations on variables and values. Php support a rich...

Continue reading