Hi everybody,
i need to fill a select item in a form, using as source for the list some data got from an sql query (i need to specify is the value and which is the label)
I'm still stuck on the point of splitting the array generation and the item declaration on the $form array :(
In other words, the only way i can make select item working is in this way:
'#options' => array(1,2,3,4,5,6,7,8,9,10),
but i need to slipt this, i cannot make the sql-based array there...
Someone can help me?