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

dpearcefl’s picture

Do you still need help with this problem? The forums would be a better place to take this request.

Status: Active » Closed (outdated)

Automatically closed because Drupal 6 is no longer supported. If the issue verifiably applies to later versions, please reopen with details and update the version.