prepare($query); $sth->bindValue(":mac", $mac, PDO::PARAM_STR); $sth->bindValue(":ipaddress", $ipaddress, PDO::PARAM_STR); $sth->bindValue(":board", $board, PDO::PARAM_STR); $sth->bindValue(":service", $service, PDO::PARAM_STR); $sth->execute(); exit();