Hello,
I have a mySQL database setup that has the following fields.
ID
title
desc
price
dayofweek
I have config.php to connect to the db, etc. What I want to do is display the record associated with the day of the week.
For instance, if it’s Monday show data in reference to dayofweek=Monday. Tuesday, show Tues data.
I know you can use curdate or timestamp but I’m not sure how to build my query for day of the week. Can it be done?
I’m new to php and I’m not sure where to go. If someone could point me in the right direction I’d appreciate it.