Hi!
I am trying to get from the array:
$arr = array([0] => "1", [1] => "2", [2] => "3");
the array:
$arr = array([0][0] => "1", [1][0] => "2", [2][0] => "3");
I tried this way:
<?php
$arr = array("1", "2", "3");
for($x = 0; $x<count($arr); $x++) {
$arr[$x][0] = $arr[$x];
}
print_r($arr);
?>
but with no success. Do you have any ideas how can I do that?