Re: MySQL and PHP arrays

From: Date: Mon, 10 Mar 2003 14:34:44 +0000
Subject: Re: MySQL and PHP arrays
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-138955@lists.php.net to get a copy of this message
On Monday 10 March 2003 22:30, {R}ichard Ashton wrote: > Is there a generally recommended way of storing an array created by PHP > in a MySQL database field ? serialize() and unserialize(). > What type of field should it be, and how do you get the whole array > back in one go without reconstructing it row by row, if that is > possible? Any text field will do, just make sure it's large enough for your data. -- Jason Wong -> Gremlins Associates -> www.gremlins.biz Open Source Software Systems Integrators * Web Design & Hosting * Internet & Intranet Applications Development * ------------------------------------------ Search the list archives before you post http://marc.theaimsgroup.com/?l=php-general ------------------------------------------ /* QOTD: I'm not bald -- I'm "hair challenged". [I thought that was "differently haired". Ed.] */

« previous php.general (#138955) next »