Good afternoon, I need help to display a CCK field in the pull-down list option, data from my databases, for example a field called "Buildings", showing a pull-down list of buildings previously registered in the DB. What code would have to put the field gives me PHP drupal? Thank you very much for your help.

Comments

aaronzyf’s picture

You can go to the field configuration page , at the bottom of this page , you can define options by php code .

josematos’s picture

The problem is not how to program the PHP to display the fields, I might put some example? Thanks.