Welcome Guest, Not a member yet? Register   Sign In
Example for form_open() in php
#5

[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();

?>


Messages In This Thread
Example for form_open() in php - by El Forum - 07-02-2010, 11:25 PM
Example for form_open() in php - by El Forum - 07-03-2010, 03:45 AM
Example for form_open() in php - by El Forum - 07-06-2010, 09:01 AM
Example for form_open() in php - by El Forum - 07-06-2010, 10:22 AM
Example for form_open() in php - by El Forum - 07-15-2012, 08:34 PM



Theme © iAndrew 2016 - Forum software by © MyBB