Suppose I have such an array in php:
$ray =
Array
(
[0] => Array
(
[id] => 1
[0] => 1
[ip] => 127.0.0.1
[1] => 127.0.0.1
[username] => local_me
[2] => local_me
[last_visit] => 2013-05-17 02:12:07
[3] => 2013-05-17 02:12:07
)
[1] => Array
(
[id] => 2
[0] => 2
[ip] => 127.2.2.3
[1] => 127.2.2.3
[username] => Anonymous42
[2] => Anonymous42
[last_visit] => 2013-05-16 16:07:46
[3] => 2013-05-16 16:07:46
)
)
And I want to remove the ip (and '1' also) "column" for all elements of this array. How can I do this?
thanks !