$val) { ${$key} = $val; } include "conf_addboard/config_banner.php"; $click="click_".$section; if ($ad=="branding") $pridat_click = mysql_query("UPDATE `brandings` SET `$click` = `$click`+1 WHERE id_campaign=$spotid"); else $pridat_click = mysql_query("UPDATE `campaigns` SET `$click` = `$click`+1 WHERE id_campaign=$spotid"); header("Location: $destination"); ?>