form_input codeigniter add class code example
Example 1: codeigniter form open
$this->load->helper('form');
Example 2: codeigniter form open
$string = 'Here is a string containing "quoted" text.';
<input type="text" name="myfield" value="<?php echo $string; ?>" />