DATE_SUB( sysdate( ) , INTERVAL '$pmb_pret_timeout_temp' MINUTE )"; pmb_mysql_query($rqt, $dbh); } $rqt="delete from pret where pret_temp = '".$_SERVER['REMOTE_ADDR']."' and pret_temp != '' "; pmb_mysql_query($rqt, $dbh); }