ok i get this error now
"parse error: unexpected T_ELSE"
meaning the else in this code
Code:
{
$post['ad_client_id'] = $post['field11'];
if (!empty($post['field12'])) {
$post['ad_channel'] = $post['field12'];
}
}
else {
$post['ad_client_id'] = $adsensesettings['clientid'];
if (!empty($adsensesettings['channel'])) {
$post['ad_channel'] = $adsensesettings['channelid'];