Shaun wrote:
Hi,
I am trying to create a form on my page. The idea is that for each project
people can select whether they are allocated for scheduling, non_scheduling
or both. Here is an example of my form:
take the time to work out what it is that is being POSTed:
echo '<pre>';
var_dump( $_POST );
echo '</pre>';
...
<tr>
<td><input name="project[25][Scheduling]" type="checkbox" value="25"><td>
<td><input name="project[25][Non_Scheduling]" type="checkbox"
...
'".$fields[$i]."',
'".$fields[$i][0]."',
'".$fields[$i][1]."',
the 2 lines above should probably something like:
'".$fields[$i]['Scheduling']."',
'".$fields[$i]['Non_Scheduling']."',
)");
...
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php