Re: 2D Array



c0v1k wrote:
//how to put string in 2D array

for ($i=1; $i<=$num_parents; $i++)
{
for ($j=1; j<$num_childs; $j++)
{
$parent[$i][$j]=$name_of_children[$j]; //? is this right?
}
}

Yes
.