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 are the rules to determine the “truth” of any value which is not already of the boolean type?
What are php applications?
Explain Whitespace Characters?
How can I increase my website session?
What is use of htmlspecialchars php?
Does php support polymorphism?
What is php? Why it is used?
Which of the data type is compound datatype supported by PHP?
Tell me what is htaccess?
What is the difference between explode () and split () functions in php?
Tell us why did you choose this particular career path?
How can you upload a file using php?
What are php magic quotes?
What is the use of mysql_real_escape_string in php?
What is the role of the .htaccess file in php?