Welcome Guest, Not a member yet? Register   Sign In
using form_helper
#1

[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
#2

[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
#3

[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>
#4

[eluser]Bartolo![/eluser]
effects? integrate? what exactly do you mean? i think you first have to start with some html/php tutorials...
#5

[eluser]InsiteFX[/eluser]
And please use code tags to wrap your code!
Use Post Reply instead of Fast Reply!

InsiteFX




Theme © iAndrew 2016 - Forum software by © MyBB