i have an array called res_rooms returning this using print_r($res_rooms);
Array (
[0] => 80
[1] => 50
[2] => 80
[3] => 50
[4] => 80
[5] => 50
[6] => 80
[7] => 50
[8] => 80
[9] => 50
[10] => 80
[11] => 50
[12] => 80
[13] => 50
[14] => 80
[15] => 50
[16] => 80
[17] => 50
[18] => 80
[19] => 50
)
then getting unique values like this
$new_room = array_unique($res_rooms);
printing values using print_r($new_room );
but i get nothing at all not even an arror
any ideas? Thanks in advance