I have a query that on average takes 10 seconds to load through mysql, but in php, takes almost a minute. I've done an 'Explain' on the table and have attached the screenshot. I have also taken the dw_quote_main and saved the structure. Anything else that is needed, p lease let me know.
Build an array called $myWeek which will hold the array elements Today, Yesterday and then builds up the rest of the week by the name of the day going back 1 week.
Then you just need to pass your date to the function.
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions.
Consider email address RFCs:
Look at HTML5 form input element (with type=email) regex pattern: