Welcome Guest, Not a member yet? Register   Sign In
Newbie in need - can't even follow a drunken tutorial!
#8

[eluser]James Gifford[/eluser]
There is no error_string function in the validation class, its just a variable. Also, you don't need to test the validation error string before echoing it out (you can if you want to though).

Your code:
Code:
<?php if ($this->validation->error_string()) {
echo $this->validation->error_string;
} ?>

Should just be:
Code:
<?php echo $this->validation->error_string; ?>


Messages In This Thread
Newbie in need - can't even follow a drunken tutorial! - by El Forum - 05-05-2008, 05:34 AM
Newbie in need - can't even follow a drunken tutorial! - by El Forum - 05-05-2008, 05:54 AM
Newbie in need - can't even follow a drunken tutorial! - by El Forum - 05-05-2008, 05:59 AM
Newbie in need - can't even follow a drunken tutorial! - by El Forum - 05-05-2008, 06:01 AM
Newbie in need - can't even follow a drunken tutorial! - by El Forum - 05-05-2008, 06:02 AM
Newbie in need - can't even follow a drunken tutorial! - by El Forum - 05-05-2008, 08:28 AM
Newbie in need - can't even follow a drunken tutorial! - by El Forum - 05-05-2008, 10:00 AM
Newbie in need - can't even follow a drunken tutorial! - by El Forum - 05-05-2008, 12:11 PM
Newbie in need - can't even follow a drunken tutorial! - by El Forum - 05-05-2008, 12:46 PM
Newbie in need - can't even follow a drunken tutorial! - by El Forum - 05-05-2008, 12:51 PM



Theme © iAndrew 2016 - Forum software by © MyBB