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.] */ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php