strange problem with array_search
Posted: Thu Aug 26, 2004 9:22 am
i have this array :
<?php
$lstOpenRounds=Array
(
[0] => "006"
[1] => "146"
[2] => "1"
[3] => "016"
[4] => "157"
[5] => "1"
[6] => "018"
[7] => "150"
[8] => "1"
[9] => "019"
[10] => "158"
[11] => "1"
)
?>
when i do :
array_search ($row_orders_round['region_id'],$lstOpenRounds);
where $row_orders_round['region_id']=="018" i recive false!
why is that?
thnaks i nadvance
peleg
?>
<?php
$lstOpenRounds=Array
(
[0] => "006"
[1] => "146"
[2] => "1"
[3] => "016"
[4] => "157"
[5] => "1"
[6] => "018"
[7] => "150"
[8] => "1"
[9] => "019"
[10] => "158"
[11] => "1"
)
?>
when i do :
array_search ($row_orders_round['region_id'],$lstOpenRounds);
where $row_orders_round['region_id']=="018" i recive false!
why is that?
thnaks i nadvance
peleg
?>