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