RE: [PHP] Storing Arrays?
| From: | Jay Blanchard | Date: | Tue, 24 Feb 2004 11:14:30 +0000 |
| Subject: | RE: [PHP] Storing Arrays? | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-178667@lists.php.net to get a copy of this message | ||
[snip]
If I wanted to store an array for future use in a MySQL TEXT Column
(dont ask, it's complicated... hehe!) how would I go about it?
I thought of just putting the results of print_r($myarray); into the
text field and using eval() to get at it later... is that the right way
to go?
[/snip]
Yes, that is certainly one right way to go.