CodeIgniter Forums
Bug in validation.php - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20)
+--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23)
+--- Thread: Bug in validation.php (/showthread.php?tid=13075)



Bug in validation.php - El Forum - 11-10-2008

[eluser]Unknown[/eluser]
Hello, i'm a newbie in ci.
I've tried to make a login module so i've downloaded simplelogin lib but
i've an error relating to the file systemlibrariesvalidation.php.

It seems to be a core error of CI. Cuold you help me please.

Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING in
G:wampMSSwwwpromytecsystemlibrariesValidation.php on line 204

// Is the field required? If not, if the field is blank we'll mo~e on to
the next |est
if ( ! in_array'required', $ex, TRUE))
{
if ( ! isset($_POST[$field]) OR $_POST[$field] == '')
{
continue;
}
}