Re: 2D Array
- From: "J.O. Aho" <user@xxxxxxxxxxx>
- Date: Sat, 15 Jul 2006 22:29:44 +0200
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
.
- Prev by Date: Re: Best practice regarding MySQL username/pw in script file??
- Next by Date: Re: include in php
- Previous by thread: Best practice regarding MySQL username/pw in script file??
- Next by thread: SORRY, did not mean to crosspost.
- Index(es):