= $strong) {$array1[$i]="s";} else {;} if ($percent <= $threshold) {$array1[$i]="removed";} else {;} } if ($space=="Y") {$spacetext=" ";} else {$spacetext="";} echo "IR (thin film) ν "; $numa = $num - 2; for ($i=0;$i<$numa;$i += 2){ $j = $i + 1; $array1[$i] = number_format ($array1[$i], $dp, '.', ''); if ($array1[$j] == "removed") {;} else {echo "$array1[$i]$spacetext($array1[$j]), ";} } $j = $i + 1; $array1[$i] = number_format ($array1[$i], $dp, '.', ''); if ($array1[$j] == "removed") {;} else {echo "$array1[$i]$spacetext($array1[$j]) cm-1.";} ?>