Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

What is serialization / object serialization ?

Answer Posted / ranjan

Say we have some information in the form of object or array
and we want to store that into database then we should
serialize that and then we can store the returned string in
the database. While accessing we will have to unserialize that.

Also if we want to play with the string before we store the
above string into the database then we need to use it
everytime by unserializing it.

We can avoid this if we register this iobject with the
session and then nsession will automatically unserialize it
and we need not to unserialize it before playing or while
storing

Is This Answer Correct ?    0 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the use of mysqli_real_escape_string() function?

976


Which will start a session?

1066


What are the rules to determine the “truth” of any value which is not already of the boolean type?

988


What is the purpose of a query?

982


What changes I have to do in php.ini file for file uploading?

1117


Write a php function to convert all null values to blank?

1383


What is list in PHP?

1155


How is a session id generated?

1060


what is session_set_save_handler in PHP?

1054


How do I stop a php script?

1012


What is polymorphism in php?

1052


Which programming language does php resemble?

1002


Does php support polymorphism?

993


How to turn on the session support?

1144


What is __ invoke in php?

1065