Yes, every time the banner is reloaded or re-displayed or updated, the "current’ DJ will be pulled and displayed.
I think that is just what you want!
Now, lets try debug a little. You have created a DJ for the CURRENT day and hour? I mean, at the location of your SERVER??? Remember, you are typing in days and hours for your shift at your location, and this is London, but the SERVER may be elsewhere… Does the time your server show display as the same as you have on the clock where you are?
Next, you are showing the test code that should display a the two pictures. Okay, perhaps I misled you…
The code you just posted is the TESTING page just to make sure it works. It allows you to manually pick
a day and hour to test if you have a DJ set up for that hour. You are supposed to select a day and select
an hour. Then, press the button and it should pull your data from the database for that day and hour. If
you have not uploaded any pictures for that shift, then it will not display any. Did you fill in your entire
schedule for the entire week? 24 hours? Not sure…
The other shorter code was the “live” code to use for display based on the real-time clock…
Hope that makes it clearer…