Welcome Guest, Not a member yet? Register   Sign In
Select dependents

Hello I am new in Codeigniter I would like to know how I can make a select dependent on another, as the classic example of countries and cities, since these data are in a database, I hope your prompt response.

[eluser]Colin Williams[/eluser]
Which part are you struggling with? What does your code look like now?

I Dónt Know, i want make a combos dependentes , but i Dónt Know with CI

[eluser]Colin Williams[/eluser]
Right. Got it. Combosos dependiantes. So, how does your code look so far? Have you tried anything out yet? Maybe sketched it out on a napkin or in a notebook? That's where all my code starts.

Thanks for the answer, No I dónt Have any Code , I Dónt Have idea, because i´m New in CodeIgniter; i´M Learning CI

[eluser]Colin Williams[/eluser]

[eluser]Derek Allard[/eluser]
What Colin is (correctly) working around to is that the CI component of this is probably pretty small. A good bet would be to start with javascript, or even html, until you can build something similar to what you want, and then we can help you out with the db querying part of it using CI.

Welcome to CodeIgniter minerva86.

[quote author="minerva86" date="1216685437"]I Dónt Know, i want make a combos dependentes , but i Dónt Know with CI[/quote]

Olá minerva86,

Portuga ou brazuca?

In all the case you can find a huge amount of examples in dynamicdrive.com!

Try searching google by chained selects.

Theme © iAndrew 2016 - Forum software by © MyBB