[PHP] Storing Arrays in a database

2005-03-24 Thread Joe Harman
Hey,

I was curious if anyone here stores arrays in MySQL... and how r u
doing this... are you converting the values to a delimited string
or is there another way?

Thanks
Joe

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



RE: [PHP] Storing Arrays in a database

2005-03-24 Thread Chris W. Parker
Joe Harman mailto:[EMAIL PROTECTED]
on Thursday, March 24, 2005 12:15 PM said:

 I was curious if anyone here stores arrays in MySQL... and how r u
 doing this... are you converting the values to a delimited string
 or is there another way?

http://php.net/serialize and http://php.net/unserialize are probably
what you want.




Chris.

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Storing Arrays in a database

2005-03-24 Thread [EMAIL PROTECTED]
check serialize() and unserialize() in manual.
implode() and explode() functions too.
-afan
Joe Harman wrote:
Hey,
I was curious if anyone here stores arrays in MySQL... and how r u
doing this... are you converting the values to a delimited string
or is there another way?
Thanks
Joe
 

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


Re: [PHP] Storing Arrays in a database

2005-03-24 Thread John Nichel
Joe Harman wrote:
Hey,
I was curious if anyone here stores arrays in MySQL... and how r u
doing this... are you converting the values to a delimited string
or is there another way?
Thanks
Joe
http://us4.php.net/serialize
--
John C. Nichel
ÜberGeek
KegWorks.com
716.856.9675
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[PHP] Storing Arrays in a database

2005-03-24 Thread Joe Harman
k.. in the past i have been using implode and explode... i have yet to
try serialize yet... but i will be giving it a whirled in about 5
minutes...

Thanks... just looking for a better way to do things
Cheers  thanks for the help!
Joe


On Thu, 24 Mar 2005 14:23:05 -0600, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
 check serialize() and unserialize() in manual.
 implode() and explode() functions too.

 -afan

 Joe Harman wrote:

 Hey,
 
 I was curious if anyone here stores arrays in MySQL... and how r u
 doing this... are you converting the values to a delimited string
 or is there another way?
 
 Thanks
 Joe
 
 
 


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php