[PHP] Re: array_shift not working?

2005-10-01 Thread Oliver Grätz
Frank Keessen schrieb: > Can you please help me with the following > This is in the array($info[0]["bdnadvocaat"]) > Array ( [count] => 2 [0] => 210 [1] => 149 ) > This is the code: > $testje=array($info[0]["bdnadvocaat"]); > $test=array_shift($testje); > print_r($test); > This is the output >

[PHP] Re: array_shift

2003-06-18 Thread Diana Castillo
never mind I found the answer, use key(arrayname) to get the key and next(arrayname) to move to next element without reseting the keys. "Diana Castillo" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > how can I do an array shift without reseting the keys? > how can I get the key of t