Hello Freaks,
Currently I have this:
<div>Week:
<input type="text" name="weekNo" id="weekNo" placeholder="<?php echo $weekNumber = date("W"); ?>"/>
</div>
Then on form submission, the week of the year number is part of WHERE statement in my query. In results I get all entries withing this week.
Until now it has work great, but I have been requested to change it to calculate data not from Monday to Sunday, but from Wednesday to Tuesday.
I have probably spent 4ish hours browsing through search engines but can't find a solution.
Can anyone be so kind and help me with this, please?