Re: FW: [PHP] Creating arrays using results from MySQL query

2002-03-18 Thread Jason Wong
On Tuesday 19 March 2002 03:44, Mullin, Reginald wrote: > I've just added another record to the table. Now they're a total of 3 > records matching the "WHERE emp_id='$emp_login_id" criteria. When I > "print_r(array_values($emp_login_grp_id));" I get the following values: > Array ( [0] => 222 [1]

FW: [PHP] Creating arrays using results from MySQL query

2002-03-18 Thread Mullin, Reginald
I've just added another record to the table. Now they're a total of 3 records matching the "WHERE emp_id='$emp_login_id" criteria. When I "print_r(array_values($emp_login_grp_id));" I get the following values: Array ( [0] => 222 [1] => 333 ). For some reason, it seems to be skipping the first r