Hello community,
i'm having any doubts working with arrays :
supposing I have
$list = Array ( [0] => Mark [1] => Bob [2]=> John [3]=>Paul [4]=> Mike) ;
then I
unset($list{1});
and I obtain
$list = Array ( [0] => Mark [2]=> John [3]=>Paul [4]=> Mike) ;
How could I do to get correctly
$list = Array ( [0] => Mark [1]=> John [2]=>Paul [3]=> Mike) ;
???
And then, if I wish to move up or down a value in my $list[] so to get :
$list = Array ( [0] => John [1]=> Mark [2]=>Paul [3]=> Mike) ;
how can I do?
Thanks a lot....