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
What is difference between core php and framework?
What does odbc do in context with php?
What is $_session in php?
What are php applications?
What is a lambda function in php?
What are the __construct() and __destruct() methods in a php class?
How to create a mysql connection in php?
What are the popular content management systems (cms) in php?
Why php is better?
What is an object in php?
What are advantages of .htaccess?
How do I install php and apache on windows 10?
List some string function name in php?
Write a program in php to reverse a number?
What is basic php?