Code:
$data[] = array('id' => 00001,'name'=>asuka);
$data[] = array('id' => 00002,'name' =>ntt);
$data[] = array('id' => 00003,'name' =>docomo);
for($i=0; $i<3;$i++)
{
echo $data['id']." ".$data['name']."<br>";
}
something's wrong with this code.
I wanna display the content of array($data).
but it doesn't work. can somebody please tell me how to write correct code?
Im stuck!! :eek:
and also I wanna put those information into table which is 3 by 2.
thanks :)
Comment