Example for form_open() in php |
[eluser]Joviac[/eluser]
Hi everyone, I am newer to php.I need to use form_open() in my php program,so please reply your answer for my request..
[eluser]psp83[/eluser]
Hi Joviac. Here's how you use the form_open(). Code: <?php The above form is just a basic form, you can read more about the form helper here : http://ellislab.com/codeigniter/user-gui...elper.html Hope the above helps you.
[eluser]danmontgomery[/eluser]
(http://ellislab.com/codeigniter/user-gui...elper.html)
[eluser]shahnawazahmed[/eluser]
hello psp , why we use this code to create forms in php ? we can also do this in Html forms . <?php echo form_open('location/to/sumbit/to'); echo "Username : ". form_input('username', set_value('username')); echo "Password : ". form_password('password', set_value('password')); echo form_submit('submit', 'Login'); echo form_close(); ?> |
Welcome Guest, Not a member yet? Register Sign In |