multiple select items on dropdown list
- Single Page
Posted 15 June 2012 - 04:40 AM
I have some problems:
1/ In the dropdownlist I have the list of nuts for admin to choose: cashew, peanuts, pecan ....
i want when admin add a new reciept: they can choose as many as they want: cashew & pecan ....
how to do that?
2/ In the table in database it has a field called STATUS with 2 values: 1(active) - 0 (inactive)
when I select it and show in the list use grocerygrud it show the value 1 or 0. I want to change that 1 -> active ( text)
how to do that?
Thanks
Posted 15 June 2012 - 05:41 AM
Some one help me on the 1st question about multiple select on dropdown
Thanks
Posted 15 June 2012 - 05:57 AM
Posted 15 June 2012 - 07:35 AM
Hi! I think the set_relation_n_n function will help you.
[/quote]
ok let me try, but how can we add it to the database, I mean after select the list in dropdown?
THanks
Posted 15 June 2012 - 07:59 AM
I finish it
Best regards,
Posted 15 June 2012 - 09:04 AM