storing post information in mysql as array
<p>How would i go about taking all information thats submitted via POST to a page, and storing it in a db as a readable array</p>

<p>Right now i have this function:</p>

<pre><code> $mysql = mysql_query("INSERT INTO `table` (`sid`, `contents`) VALUES ('$sid', '$contents')") or die(mysql_error());
 if($mysql){
 return TRUE;
 }else{
 return FALSE;
 }
</code></pre>

<p>when i pass $_POST for $contents, all i get in the db is <code>Array</code>
I need some way of reading the post values, converting them to something readable, storing them, and then being able to get them back out and loop through the info again</p>
