Welcome Guest, Not a member yet? Register   Sign In
help me about form validation callback function
#2

[eluser]LuckyFella73[/eluser]
Hi ali oygur

Looks like you put all/most of the code usually found in a controller/ model
into a library and load that stuff into your controller. I recommend you to
organize your code better to make everything much easier! Setting up a new
library makes sense if you build a class and functions you don't have yet.
Your library is just a mix of libraries allready existing, what is making
everything more complicated then necessary.

Would be better if you place the rules (including the callback function) inside
your controller and set up one model with the database functions.


Messages In This Thread
help me about form validation callback function - by El Forum - 05-17-2010, 08:52 AM
help me about form validation callback function - by El Forum - 05-17-2010, 09:10 AM
help me about form validation callback function - by El Forum - 05-17-2010, 09:32 AM
help me about form validation callback function - by El Forum - 05-17-2010, 09:55 AM
help me about form validation callback function - by El Forum - 05-17-2010, 09:59 AM
help me about form validation callback function - by El Forum - 05-17-2010, 09:59 AM
help me about form validation callback function - by El Forum - 05-17-2010, 10:13 AM
help me about form validation callback function - by El Forum - 05-17-2010, 10:39 AM



Theme © iAndrew 2016 - Forum software by © MyBB