if (date("D") == "Mon") This works fine
I need it to also have Tue in it,
if (date("D") == "Mon","Tue") will not work
if (date("D") == 'Mon' OR date = 'Tue') will not work
Thanks for any and all help
Moderator: General Moderators
Code: Select all
if (date("D") == "Mon","Tue")Code: Select all
if ((date("D") == "Mon") || (date("D") == "Tue"))Code: Select all
date("D", time()+86400);When will it ever be Monday and Tuesday at the same time in one place? That condition will never be true.Scoobs wrote:In other lines I had to just change the || to &&Code: Select all
if ((date("D") == "Mon") && (date("D") == "Tue"))