Welcome Guest, Not a member yet? Register   Sign In
validation_errors() returning an empty string after upgrading to 2.1.0
#8

[eluser]Chathuranga Tennakoon[/eluser]
Hello ToddyBoy

i also believe that you cannot assign the error message values for the variables. therefore the below line is not required in your controller.
Code:
$this->data['message'] = (validation_errors()) ? validation_errors() : $this->session->flashdata('message');

just remove that line and put
Code:
<?php echo validation_errors(); ?>
as InsiteFX has said in your view.


Messages In This Thread
validation_errors() returning an empty string after upgrading to 2.1.0 - by El Forum - 02-24-2012, 12:40 AM



Theme © iAndrew 2016 - Forum software by © MyBB