CodeIgniter Forums
HTML Tags in form_input - 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: HTML Tags in form_input (/showthread.php?tid=14789)



HTML Tags in form_input - El Forum - 01-15-2009

[eluser]piker[/eluser]
when form_input has <br /> <b> tags
I have this

Code:
Fatal error: Call to undefined function get_instance() in F:\programy\OCS Inventory NG\xampp\htdocs\CI\system\libraries\Input.php on line 855

when I submit from this
Code:
<table>
     &lt;?=form_open('terminale/punkty_update')?&gt;
     &lt;?=form_hidden('id',$this->uri->segment(3));?&gt;
   <tr>
     <td><b>Nazwa</b></td>
     <td>&lt;?=form_input(array('name' => 'nazwa', 'value' => $wiersz->nazwa, 'size' => '10'));?&gt;</td>
   </tr>

Whats going on it's a bug ?


HTML Tags in form_input - El Forum - 01-15-2009

[eluser]everdaniel[/eluser]
AFAIK, that error is not related to the form_input function, you have a get_instance() function somewhere and that function isn't defined.


HTML Tags in form_input - El Forum - 01-16-2009

[eluser]piker[/eluser]
After reinstalling CI 1.7.0 is OK. The error disapear.
Thanks and sorry for disturb.