Re: Array in SQL-table

From: Date: Thu, 23 Oct 2003 17:00:18 +0000
Subject: Re: Array in SQL-table
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-167319@lists.php.net to get a copy of this message
If the field isn't required to be searchable, you could just serialize the array and shove that into a VARCHAR column.. Then unserialize the return value for that column. Jordan S. Jones Reidar wrote:
I want to store an ARRAY in a SQL-table but don't know how to define it in the table. The PHP-stuff is working OK but the "DB-thing" isn't. Anyone tried this? Hopefully it is.... Reidar Solberg
-- I am nothing but a poor boy. Please Donate.. https://www.paypal.com/xclick/business=list%40racistnames.com&item_name=Jordan+S.+Jones&no_note=1&tax=0&currency_code=USD

« previous php.general (#167319) next »