Hello guys,
I got a form with the following multi-check box options:
Monday
Tuesday
Wednesday
Thursday
Friday
Saturday
Sunday
They get stored into the database by a .PHP that has:
[php] function procEditAccount(){
global $session, $form;
/* Account edit attempt */
$retval = $session->editAccount($_POST[‘workdays’]);
[/php]
And its retreived like this:
[php]echo “<span class=“blackfont”>Work Days: “.$req_user_info[‘workdays’].”
”;[/php]
But it gets stored in the database as “Array”, meaning… the word Array, not even mon or tues or anything, it just says Array… How can i fix that?
And also, how can i make it so when the user goes to edit their account, it has checked the days that were checked by the time of editing the profile?