I am assuming this is the correct syntax. Thanks, Any help is appreciated.

Bryan Tolka

if ($ip ne $oldip){
    $sth = $dbh->prepare("update ipmgt set ip = '$oldip',
            hw = NULL,
            dnsName = NULL,
            userName = NULL,
            os= NULL,   
            dept= NULL,
            notes= NULL,
            bootType= NULL,
            bootFile= NULL,
            bootHost= NULL,
            where ip = '$oldip'");

Reply via email to