Using time in php mysql database
Anybody any idea about this?i don't know with what to replace the (1 minute) in order to work;

    $time=time();
            
        $checktime=mysql_num_rows($get_cars);
            if($time<$checktime['car_date'] - (1 minute))
            {
            $sqlhour = mysql_query("DELETE FROM car
            	        WHERE car_date < current_timestamp - interval '1' minute;");
            			
            }
Using time in php mysql database
===

Anybody any idea about this?i don't know with what to replace the (1 minute) in order to work;

    $time=time();
            
        $checktime=mysql_num_rows($get_cars);
            if($time<$checktime['car_date'] - (1 minute))
            {
            $sqlhour = mysql_query("DELETE FROM car
            	        WHERE car_date < current_timestamp - interval '1' minute;");
            			
            }