get_a_line($q); @extract($r); // Write Click to the file. $clicks++; $q = "update campaigns set clicks = $clicks where campaign_name = '$campaign_name'"; $r = $db->insert($q); if($destination_url<>""){ // create the html here echo ""; echo "
"; echo "