Connecting Tech Pros Worldwide Forums | Help | Site Map

serialize / unserialize

VooDoo
Guest
 
Posts: n/a
#1: Dec 11 '07
Hi,
I am using the serialize and unserialize to put and get data from mysql
database.
I think i could optimise the way i handle the data, but not really sure how.
What is the best way to happend data to a serialised field?

I currently unserialise, parse the table, and my new value a the end of the
table...

Is there a quick/better way to do it??

Thanks for your comments.
VooDoo



Rik Wasmus
Guest
 
Posts: n/a
#2: Dec 11 '07

re: serialize / unserialize


On Tue, 11 Dec 2007 14:21:25 +0100, VooDoo <VooDooNet38@free.frwrote:
Quote:
Hi,
I am using the serialize and unserialize to put and get data from mysql
database.
I think i could optimise the way i handle the data, but not really sure
how.
What is the best way to happend data to a serialised field?
>
I currently unserialise, parse the table, and my new value a the end of
the
table...
>
Is there a quick/better way to do it??
Yes, normalise the database, and make sure you don't need to serialize
anything. What is it you're actually storing, and how, that you wish to
serialize it and put into one field?
--
Rik Wasmus
Closed Thread