if i make a script like this:
$value[] = "value";
$value_match[] = "value";
$value[] = "value";
$value_match[] = "nomatch";
$num_arr = 0;
foreach( $value as $array )
{
if( $value['$num_arr'] == $value_match['num_array'] )
{
echo("it matches!");
}
}
by my calculations that should echo 'it matches!' once, but it either does it twice or not at all, dependong on what i trying to do.
any help would be much appreiciated 😉