Since there are a lot of questions on forms, I figured I'd add my own. What is the best method of handling forms in your opinion? Everything by classes? Using a framework like CodeIgniter?
I ask because the forms I've been making are what I would consider rudimentary and time consuming. I'm looking for a better way of doing them. I've attached an example of what my forms look like (don't feel the need to read through it all, its kinda hellish).
I do use a couple classes, but still theres a lot of things I have to change for every new form I make.
scragar, if you read this, you mentioned you had a class for handling forms, and I was wondering how that worked?
Last edited by bejitto101; 01-08-2009 at 07:39 AM.
But I will warn you that the class works only on PHP5.1+, and the code in it is far from pretty(it also uses 4 classes: Form, InputBox, SelectBox and Button).
It's also not exactly efficient, I can think of lot's of ways to make it more efficient if I wanted, but for now I'm happy to let it slide.
If you are using PHP please use the [PHP] and [/PHP] forum tags for highlighting...
The same applies to HTML and the forums [HTML][/HTML] tags.
Bookmarks