I’m trying to design a Form class in PHP. So far, I have the <input> buttons pretty well working. But the <select> boxes have me stymied. I’m trying to figure out a ‘generic’ way of adding the <option> tags, and am lacking the creativity.
I’m not asking for teh codez, but implementation ideas are welcome.
This is my implementation of it from my bare-bones framework that I use in super simple projects: