Re: Store array into mysql?
| From: | Andrey Hristov | Date: | Thu, 14 Feb 2002 17:44:40 +0000 |
| Subject: | Re: Store array into mysql? | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-84771@lists.php.net to get a copy of this message | ||
Hi,
if you want to save an array and the structure is not known when you make the database schema
definition,
you have to serialize(), put the string in the DB, and when you restore it from the DB do
unserialize().
Best regards,
Andrey Hristov
"Back from the exams hell....Ready to help again."