kalabox Posted April 11, 2007 Report Share Posted April 11, 2007 To tak jebkura statistiku lapā var dabūt skaitiitaaju..... :D Link to comment Share on other sites More sharing options...
archux Posted April 11, 2007 Author Report Share Posted April 11, 2007 Vai tas varētu izskatīties šādi? $result = dbquery("DELETE FROM ".$db_prefix."online WHERE online_lastactive<".(time(00:00)).""); Link to comment Share on other sites More sharing options...
andrisp Posted April 11, 2007 Report Share Posted April 11, 2007 Tas var izskatīties kā vien tu gribi, lai tas izskatās ;). Link to comment Share on other sites More sharing options...
ray Posted April 13, 2007 Report Share Posted April 13, 2007 time() vietā iesaku $_SERVER['REQUEST_TIME'] kāda ir atšķirība? Link to comment Share on other sites More sharing options...
andrisp Posted April 13, 2007 Report Share Posted April 13, 2007 $_SERVER['REQUEST_TIME'] norāda precīzāk uz laiku, kad lapa pieprasīta. Link to comment Share on other sites More sharing options...
Recommended Posts