Fw: [PHP] Array into database

2002-06-11 Thread Kevin Stone
Yes I believe serialize will work with any array. When you extract it from the database simply do $array = unserialize($str) to rebuild the array. -Kevin - Original Message - From: "Leon Mergen" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, June 11, 2002 3:59 PM Subject: Re:

Fw: [PHP] Array into database

2002-06-11 Thread Kevin Stone
Not directly no. You can serialize the array and store it in a single text field. Or, if this array contrains data that you'll be retrieving often then you can construct a table and store each array element in a new row. -Kevin - Original Message - From: "Leon Mergen" <[EMAIL PROTECTED