Is this using vBulletin back-end? If so make sure you read this:
Using the vBulletin Input Cleaner, before you go any further in reading my post.
To store an array in a database row you need to serialize it in a string. See the PHP manual for information on
serialize() and
unserialize().
An example:
PHP Code:
$arrayone = array('bla', 'bla', 'bla');
$arrayone = serialize($arrayone);
// $db->query_write("UPDATE....SET somecol = ". $arrayone ."...
//=================================
// $db->query_read("SELECT * FROM....
// $row = $db->fetch_array...
$data = unserialize($data['somecol']);