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
Right now i have this function:
$mysql = mysql_query("INSERT INTO `table` (`sid`, `contents`) VALUES ('$sid', '$contents')") or die(mysql_error());
if($mysql){
return TRUE;
}else{
return FALSE;
}
when i pass $_POST for $contents, all i get in the db is Array
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