The easy way (but not the recommended way) would be to serialize() the
array and then stuff it into a TEXT field for later retrival and
unseralize().
This would work if you are just storing the array for later use and
don't need to select on it's contents.
Personally, before I would go that ro
Jeroen Wasteels wrote:
Is it possible to save an array to a database? And if so, how can I display
the entire array when I retreive it from the database? If not, is there
some other way to store several data in one colomn/row?
http://us2.php.net/serialize
--
---John Holmes...
Amazon Wishlist: ww
On Tuesday 13 January 2004 10:59, Jeroen Wasteels wrote:
> Is it possible to save an array to a database? And if so, how can I display
> the entire array when I retreive it from the database? If not, is there
> some other way to store several data in one colomn/row?
serialize()
unserialize()
--
Is it possible to save an array to a database? And if so, how can I display
the entire array when I retreive it from the database? If not, is there
some other way to store several data in one colomn/row?
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net