【发布时间】:2014-11-20 07:24:35
【问题描述】:
我使用以下代码检索内容类型
$form['ct'] = array(
'#type' => 'checkboxes',
'#options' => node_type_get_names(),
'#title' => t('Hangi tür içerikler hakkında bilgi almak istersiniz?'),
);
它给出以下输出
http://i.stack.imgur.com/TOfS6.png
当我按下 Create new Account 按钮时,POST 数组是这样的:
http://i.stack.imgur.com/BtxhC.png
我的问题是如何将这些值插入数据库并读取?
【问题讨论】:
标签: drupal-7 drupal-content-types