Hey, I am looking to produce a function where I check the date is in the last fortnight. This is something I have never done before.
Bir mysql_query ürettiler
$q = "SELECT date_subbmited FROM ".TBL_CONF_RESULTS." WHERE home_user = '$u' OR away_user = '$u'";
Bu tarih seçmek istiyorsunuz ve PHP i son fornight içinde olup olmadığını kontrol edebilir?
Tarih son fornight içinde olsaydı ya da ben SQL içinde kontrol edebilir?
Whats the best practice here? And how would I go about doing this?
date_submitted i kontrol etmek istediğiniz tarih ve $ u sadece adı.
Teşekkürler