Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Hello,
I have created content type as organization type and added data to it.
I have used this field in another node as existing field with select widget , now I want to populate this from database so that this i can use as foreign key with other node (e.g. employee )
I have written the query as
$result = db_query("SELECT field_organization_type_value
FROM `content_field_organization_type`");
now what next . Please give the solution.
Comments
Comment #1
dpearcefl CreditAttribution: dpearcefl commentedDo you still need help with this problem? The forums would be a better place to take this request.