What does "not working" mean? Errors, blank page, undefined variables...?
Print your SQL query strings and use mysql_error() if it's a MySQL issue. ie
$override= "SELECT * FROM house_offers WHERE auctionid='$aucid'";
print 'Query: ' . $override . '<br />';
$oresult = mysql_query($override) or die( mysql_error() );