I have the following array and I need to find the next smaller value than the one defined in $valor :
$seq = array(500, 490, 430, 370, 350, 240, 100, 90);
$n_seq = count($seq);
$valor = 400; // ASSUME DIFERENTES VALORES
if ($valor &g...
asked by
05.04.2014 / 14:05