hey, i have a question, is it possible to have a looped function, with a sleep in it, i'm trying it and it seems to freeze the page, so, what am i doing wrong
function doLog {
sleep(10);
mysql_query("UPDATE members SET loggedtime='".date ("YmdHi")."'' WHERE username='".$_SESSION["dbdusername"]."'");
doLog();
}