Security check failed.
'); } ?> Are you sure you want to do this?'); } $pop_success = ''; $pop_success_msg = FALSE; // First check if ID exist with requested ID $sSql = $wpdb->prepare( "SELECT COUNT(*) AS `count` FROM ".AnythingPopupTable." WHERE `pop_id` = %d", array($did) ); $result = '0'; $result = $wpdb->get_var($sSql); if ($result != '1') { ?>