Help with categoris and subcategory |
[eluser]Dzemail[/eluser]
plase i need help I need to make dropdown like this Castrol Castrol->Castrol model Aral Aral->Aral model dropdown Aral>Aral model
[eluser]ojcarga[/eluser]
What code do you have? You are not providing any explanation and guess this doesn't help us to help you: [quote author="Dzemail" date="1349727000"] Castrol Castrol->Castrol model Aral Aral->Aral model dropdown Aral>Aral model[/quote]
[eluser]beeLoop[/eluser]
[quote author="Dzemail" date="1349727000"]plase i need help I need to make dropdown like this Castrol Castrol->Castrol model Aral Aral->Aral model dropdown Aral>Aral model[/quote] Please provide some more details. Castrol and Aral , are they referring to model names?
[eluser]Dzemail[/eluser]
the view i wont is : Code: <td>Parent Category:</td> My code from model is Code: public function drop() Like this is my code the view dropdown what i need id up if u have some ideas please help
[eluser]LuckyFella73[/eluser]
http://ellislab.com/codeigniter/user-gui...elper.html Look at the section "dropdown" - you can pass a multidimensional array to the dropdown helper. Looks like you want to achieve.
[eluser]ojcarga[/eluser]
What other help do you need? or you meant "Yes but i cant do it because i need help (The completed code)" ??
[eluser]Dzemail[/eluser]
This what I need Code: <td>Parent Category:</td> And my code is Model: Code: public function drop() Code: class Welcome extends CI_Controller My View : Code: <p>Category Option : <?php echo form_dropdown('dr',$neki); ?></p> thakns have nice day |
Welcome Guest, Not a member yet? Register Sign In |