using form_helper |
[eluser]diasansley[/eluser]
how to use a form helper for menus in CI. create drop down menus with other effects on a web page. Thanks Ansley
[eluser]smilie[/eluser]
Have you read http://ellislab.com/codeigniter/user-gui...elper.html ? Show some code and be specific where are you stuck at... Cheers, Smilie
[eluser]diasansley[/eluser]
i have the foll code and i already have a registration page ready how do i integrate the two. $options = array( 'small' => 'Small Shirt', 'med' => 'Medium Shirt', 'large' => 'Large Shirt', 'xlarge' => 'Extra Large Shirt', ); $shirts_on_sale = array('small', 'large'); echo form_dropdown('shirts', $options, 'large'); // Would produce: <select name="shirts"> <option value="small">Small Shirt</option> <option value="med">Medium Shirt</option> <option value="large" selected="selected">Large Shirt</option> <option value="xlarge">Extra Large Shirt</option> </select> echo form_dropdown('shirts', $options, $shirts_on_sale); // Would produce: <select name="shirts" multiple="multiple"> <option value="small" selected="selected">Small Shirt</option> <option value="med">Medium Shirt</option> <option value="large" selected="selected">Large Shirt</option> <option value="xlarge">Extra Large Shirt</option> </select>
[eluser]Bartolo![/eluser]
effects? integrate? what exactly do you mean? i think you first have to start with some html/php tutorials...
[eluser]InsiteFX[/eluser]
And please use code tags to wrap your code! Use Post Reply instead of Fast Reply! InsiteFX |
Welcome Guest, Not a member yet? Register Sign In |