Suppose you want to store the information in array to your database. So in your PHP script, you may try something like this:
$cars=array(“Volvo”,”BMW”,”Toyota”);
$query=”INSERT INTO tablename (cars)  VALUES(‘$cars’);
If you run the script you’ll get “Array” as your value in the database.