Welcome Guest, Not a member yet? Register   Sign In
HTML Tags in form_input
#1

[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 ?
#2

[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.
#3

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




Theme © iAndrew 2016 - Forum software by © MyBB