<?php
$now = date("m/j/y h:i:s",time());
include "../connect.php";
$IASO = $_POST['IASO'];
$serial = $_POST['serial'];
$now = date("j/m/y h:i:s",time());
$i=0;
$ii=count($serial);
for($i=0;$i<$ii;$i++){
if ($IASO[$i]!='999999') {
$stmt = "update arp_table set iaso = '$IASO[$i]' where SERIAL = '$serial[$i]';";
echo $stmt . '<br>';
$sth = ibase_query ($dbh,$stmt);
}
}
ibase_close($dbh);
?>