Quick question...
I have this array:
$thisarray = array('1','2','3','4','5');
and this one variable
$therealnumber
I need to have a loop that would test a variable against the array...
I know part of it
for($i=0;$i<$WHATSHOULDTHISBE;$i++){
how to return only a successful match
}
Can anyone fill in the missing information?
Thanks...
I'm a PHP newbe (as if you can't tell). Still trying to get a grasp of it.
More explanation the better 🙂