Welcome Guest, Not a member yet? Register   Sign In
Fatal error: Call to undefined function form_error() [SOLVED]
#1

[eluser]kmunky[/eluser]
hi, can someone tell me why do i get this error?
Fatal error: Call to undefined function form_error() in /home/etc...

this is a segment of my view code
Code:
<form action="<?php print base_url(); ?>index.php/en/congress_reg_processing" method="post" name="congress_registration" enctype="application/x-www-form-urlencoded" class="registration">
                <label for="name">Name</label>
                &lt;?php print form_error('name'); ?&gt;
                               &lt;input type="text" name="name" id="name" value="&lt;?php echo set_value('name'); ?&gt;" /&gt;

SOLVED: had to load the form helper first Smile




Theme © iAndrew 2016 - Forum software by © MyBB