Articles → PHP CODEIGNITER → Get The Value Of Textbox In Controller In Codeigniter
Get The Value Of Textbox In Controller In Codeigniter
Example
- A text box
- A submit button
echo form_open();
echo form_input('username');
echo form submit('mysubmit', 'Click Me');
echo form close();
echo $this->input->post("username");
Output
Click to Enlarge