Hello,

i am beginner in php and i am trying to compare two value of array, i have two array both contain numeric value, and i am trying to compare(is less than or greater then) them using if condition first array contain greater value than second one and condition is full fill but block under if condition didn't execute my come is like that.($san_Quan[$i]=5 and $qty[$p]=1)

if($san_Quan[$i]>$qty[$p])
{

$yes[$m]=$pn[$p];
$yes1[$m]=$san_name[$i].'/'.$qty[$p];$m++;
break;
}
please help