Ok, I am new at php. I have a form that has over 100 fields. I have four fields that are dates that I would like to store as an array. When I submit the form I place the dates in the array like so:
$planworkdate = array("mon" => $planworkdate0,"tue" =>$planworkdate1,"wed" =>$planworkdate2,"thu" =>$planworkdate3);
and insert into mysql database.
When I try to retrieve the data I get the word Array for the result. What am I doing wrong?
$query = "SELECT planworkdate from general";
$resultall = mysql_query($query);
$planworkdate=mysql_result($resultall,$x,"planworkdate");
print $planworkdate;
Thanks in advance for help...