I have a few radio buttons that light up green when page loads. However, I'm creating a "order system" of some sort, and when that specific button or "locker" in my example, I want that specific "locker" to be "locked" (light up red instead of green) when page loads.
I already have the basic set up within my database to echo out "Active" or "Inactive" just to make sure it actually works. But I havent been able to actually modify the radio button based on SQL output.
Any help would be greatly appreciated, if you need more information, I'll upadte.
EDIT: To give it a more visual look, I want the lockers to be red, if the locker has been ordered.