Hey, I finally got my php code to accept an array into my database without it just putting "Array" in the database field, by using "serialize" like so:
$services=serialize($_POST['services']);
So now it's putting jibberish in the database field like it's supposed to, but I'm unable to use "unserialize" to get it to read out the information correctly when called from the database. When retrieving it from the database I use:
$result = mysql_query("SELECT * FROM billingrequest WHERE requestid='$request_id'");
while($row = mysql_fetch_array($result))
{
echo "<td width=\"183\" rowspan=\"2\"><center>" . $row['services'] . "</center></td>";
And I've tried sticking "unserialize in there in number of ways, but can't seem to get it to work. Anyone know how I'm supposed to do it?