Welcome Guest, Not a member yet? Register   Sign In
Returning Values for Model Fucntions
#1

[eluser]insub2[/eluser]
I'm newish to this OOP thing. Is it a good idea or waste of time to have, say, an Update_User_Profile method return TRUE or FALSE depending on weather or not the database actually got updated? Or will the Database error stop the system anyway?
#2

[eluser]Ben Edmunds[/eluser]
It's usually a good idea in case you ever need to test against it.




Theme © iAndrew 2016 - Forum software by © MyBB