RonnyNishimoto
08-08-2012, 04:17 AM
Hi!
I'm trying to search for any number greater than or equal to 1.
I know this must be really simple, but I can't seem to find how to do this?
<?php
array_search(1, $array);
?>
I also thought of:
<?php
$limit >= 1;
array_search($limit, $array);
?>
I'm not even sure if that's legal syntax lol...
I'm trying to search for any number greater than or equal to 1.
I know this must be really simple, but I can't seem to find how to do this?
<?php
array_search(1, $array);
?>
I also thought of:
<?php
$limit >= 1;
array_search($limit, $array);
?>
I'm not even sure if that's legal syntax lol...