Re: [PHP] Accessing Arrays in HTML

2005-11-23 Thread Bernhard Janetzki
On Wednesday 23 November 2005 13:07, 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: > [...] > > However I can't access the 'Sche

Re: [PHP] Accessing Arrays in HTML

2005-11-23 Thread David Grant
Shaun, This: $values[] = $value; Does this: $values[] = array('Scheduling' => '44'); Therefore, it must be accessed like this: $values[$i]['Scheduling'] // gives '44' But not this: $values[$i][0] // index doesn't exist. Cheers, David Grant Shaun wrote: > Hi, > > I am trying to create a

Re: [PHP] Accessing Arrays in HTML

2005-11-23 Thread Jochem Maas
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 ''; var_dump( $_POS