prepare($query); if($sth) { $res = $sth->execute(); while($result = $sth->fetchrow_hash()) { $ID = $result["ID"]; } $sth->finish(); } else { PRINT "Could not prepare query: ".$sth->errstr."
\n"; } header("Location: $USERPREFIX/contacts/info.php?ID=$ID"); } ?>