17488 Posts in 4473 Topics by 1978 members
|
Page:
1
|
Go to End | |
| Author | Topic: | 516 Views |
-
how put in a select the value of a db table

31 October 2008 at 9:46pm
Hi!
I create a select as explain in guide.
My problem is tha I connect silverstripe to an external database. Here I have "Country" table whit the name of word country. I want to put this value in my select.
To create select I use:
new DropdownField($s, 'Nazione', array(
'Italia'=>'Italia',
'Englad' => 'England'
)),
but write all the value is too much!
Can you help me to solve this problem?
| 516 Views | ||
|
Page:
1
|
Go to Top |

