adman4054 Posted May 13, 2015 Share Posted May 13, 2015 public function import_ads() { if(date("l")!='Thursday' && date("l")!='Friday') { //echo "test";die; $file_exists = FALSE; $i = 0; do { $date = date("m-d-y", time()); Hoping for a little help and I know its very basic, but I'm not sure how to do it. I want to remove the line "if(date("l")!='Thursday' && date("l")!='Friday')" Thanks Quote Link to comment https://forums.phpfreaks.com/topic/296266-remove-if-date/ Share on other sites More sharing options...
Psycho Posted May 13, 2015 Share Posted May 13, 2015 ???? public function import_ads() { //if(date("l")!='Thursday' && date("l")!='Friday') { //echo "test";die; $file_exists = FALSE; $i = 0; do { $date = date("m-d-y", time()); Quote Link to comment https://forums.phpfreaks.com/topic/296266-remove-if-date/#findComment-1511647 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.