I am trying to update the value of an entry in the gravity forms detail table.
I am simply trying to update the 'date' field inside of an entry. Here is my query:
$update_date = $wpdb->update(
'wp_rg_lead_detail',
array(
'value' => the_date('Y-m-d')
),
array(
'lead_id' => 170,
'field_number' => 16
)
);
It seems to be returning an error. This is the first time I am using $wpdb at all, so I may be doing something wrong here. Thanks!
$wpdb->prefix . 'rg_lead_detail'
for the table name