Jump to content

Remove if (date(......


adman4054

Recommended Posts

   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

Link to comment
https://forums.phpfreaks.com/topic/296266-remove-if-date/
Share on other sites

????

 

 

  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());
Link to comment
https://forums.phpfreaks.com/topic/296266-remove-if-date/#findComment-1511647
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.