0

你好朋友我为联系人创建了一些自定义字段。如何向该自定义字段插入值。我尝试使用参数传递自定义值。但它没有插入。如何插入该值。请帮助我。

4

1 回答 1

0

// 定义联系人和初始主要位置的输入参数

$params = array(
                'first_name'    => 'Dan',
                'custom_{put your custom filed id here}' => "custom field value1",
                'custom_{put your custom filed id here}' => "custom field value2"
                );
$contact =&civicrm_contact_create( $params );
print_r($contact);

像这样我们可以向自定义字段插入值

于 2011-02-24T10:17:13.657 回答