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

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to