serialize/unserialize vs. implode/explode for storing array data in MySQL
| From: | John Guynn | Date: | Mon, 09 Oct 2000 22:16:09 +0000 |
| Subject: | serialize/unserialize vs. implode/explode for storing array data in MySQL | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-3440@lists.php.net to get a copy of this message | ||
What are the pros and cons of using serialize/unserialize vs.
implode/explode for storing array data in a MySQL database? It looks to me
that the serialize functions will use more space and requires addslashes()
but is it faster/better somehow?
John Guynn