Array ( [inline_comment] => inline_comment [page] => page [comment] => Comment )
I want to array turn to be :~
Array ( [0] => inline_comment [1] => page [2] => Comment )
how to do that ?
Array ( [inline_comment] => inline_comment [page] => page [comment] => Comment )
I want to array turn to be :~
Array ( [0] => inline_comment [1] => page [2] => Comment )
how to do that ?
<?php
$new = array();
foreach ($old as $entry) $new[] = $entry;
?>
or better
<?php
$new = array_values($old);
?>