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

Explain the visibility of the property or method?

1016


Tell me what is the main difference between php 4 and php 5?

988


How cookies are transported from browsers to servers?

948


How is traits used in php?

987


What is mvc php?

928


What is use of count() function in php?

1023


Explain scalar type declarations in php7?

948


Write down the code for saving an uploaded file in PHP.

1056


What is the use of get and post method in php?

1003


Which operator is used to combine string values in php?

927


How to convert strings to upper or lower cases?

994


What are the differences between mysqli_connect and mysqli_pconnect?

1002


Can you define an array argument as a reference type?

912


What are super global variables in php?

1028


Can I use node js with php?

1026