Your code works fine here (Apache 1.3.27/PHP 4.3.2)
However you can try

 $room_type=array();
$room_type[0]=Array();
 $room_type[0][0]=4;
 echo "<BR>value in array is ".$room_type[0][0];

HTH
R'twick
"Diana Castillo" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> If I write a code like this,
> $room_type=array();
> $room_type[0][0]=4;
> echo "<BR>value in array is ".$room_type[0][0];
> yet I dont get any results out, what did i do wrong?
>
>



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to