Welcome Guest, Not a member yet? Register   Sign In
Issue with my 'Sign in' script
#9

[eluser]Bas Vermeulen[/eluser]
Oh, and another quick tip: I usually do the form validation in a separate method ie _comment_validate() and run the following:

Code:
if ($this->_comment_validate() === FALSE) {
    // Do stuff here
}

I do it like this because now I can re-use the validation, for example if you want to add an edit comment method you can simply use the same validation script Smile


Messages In This Thread
Issue with my 'Sign in' script - by El Forum - 10-05-2010, 12:29 PM
Issue with my 'Sign in' script - by El Forum - 10-05-2010, 01:26 PM
Issue with my 'Sign in' script - by El Forum - 10-05-2010, 01:58 PM
Issue with my 'Sign in' script - by El Forum - 10-05-2010, 02:07 PM
Issue with my 'Sign in' script - by El Forum - 10-05-2010, 02:13 PM
Issue with my 'Sign in' script - by El Forum - 10-05-2010, 02:32 PM
Issue with my 'Sign in' script - by El Forum - 10-05-2010, 02:44 PM
Issue with my 'Sign in' script - by El Forum - 10-05-2010, 02:53 PM
Issue with my 'Sign in' script - by El Forum - 10-05-2010, 02:56 PM
Issue with my 'Sign in' script - by El Forum - 10-05-2010, 03:02 PM
Issue with my 'Sign in' script - by El Forum - 10-05-2010, 03:04 PM
Issue with my 'Sign in' script - by El Forum - 10-05-2010, 03:15 PM
Issue with my 'Sign in' script - by El Forum - 10-05-2010, 03:17 PM
Issue with my 'Sign in' script - by El Forum - 10-06-2010, 07:25 AM



Theme © iAndrew 2016 - Forum software by © MyBB