tefuzz Posted April 19, 2009 Share Posted April 19, 2009 How hard would creating a form class be? I'm still pretty new to PHP, and i have some rather long forms I need built. I had a smaller contact form I made and just used some IF statements to determine whether to output an error or not, but with the amount of fields i'll be using A class seems like the best option. Quote Link to comment Share on other sites More sharing options...
DarkSuperHero Posted April 19, 2009 Share Posted April 19, 2009 the first class i ever wrote(by myself) was one that generated form fields... :-) i think its a good start.... Quote Link to comment Share on other sites More sharing options...
tefuzz Posted April 19, 2009 Author Share Posted April 19, 2009 I think so too, I just dont know where to start...I have searched google for "php form class" "php form class tutorial" but the results are mixed, and not really anything helpful... ANy tips on where to start? Quote Link to comment Share on other sites More sharing options...
jOE :D Posted April 19, 2009 Share Posted April 19, 2009 I tried CakePHP once and they had a great form class. You could check out their documentation for ideas on what to include in yours! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.