I have input boxes that are identified by the following:
<input type="text" name="day5[]" size=3 maxlength=3>
What I am trying to do is, pass the variable $day5[], etc, into a couple of functions.
Here is a call to a function below:
<?
if(update_timesheets($user_id, $weekEndDate, $job_code, $description, $day1[], $day2[], $day3[], $day4[], $day5[], $day6[], $day7[]))
echo "Your Timesheet has been submitted for the following Job Codes: <p> $job_code</p>";
else
echo "For some reason $user_id, your timesheet could not be added to the database";
?>
PhP does not like the "[]". How do I pass this over with those brackets?
Thanks
Ainsley