$fateinsertsql = 'INSERT INTO `' . $wpdb->prefix . 'player_fate` (`p_id`, `f_id`, `m_id`, `pf_desc`, `pf_killer`) VALUES (\'' . $bblm_player . '\', \'' . $bblm_fate . '\', \'' . $bblm_match . '\', \'' . $bblm_page_content . '\', \'' . $_POST['bblm_fkiller'] . '\')';
    /*	//For Debugging only
    print("<p>".$playerupdatesql."</p>");
    print("<p>".$fateinsertsql."</p>");*/
    if (FALSE !== $wpdb->query($playerupdatesql)) {
        $sucess = TRUE;
    } else {
        $wpdb->print_error();
    }
    /*if (FALSE !== $wpdb->query($teamupdatesql)) {
    	$sucess = TRUE;
    }
    else {
    	$wpdb->print_error();
    }*/
    bblm_update_tv($bblm_team);
    if (FALSE !== $wpdb->query($fateinsertsql)) {
        $sucess = TRUE;
    } else {
        $wpdb->print_error();
    }
    ?>
	<div id="updated" class="updated fade">
	<p>
	<?php 
    if ($sucess) {
        if (1 == $bblm_fate) {
            print "Another life claimed by the Finger of Death.";
        } else {
            if (2 == $bblm_fate) {
                print "Best of luck in the future";
    */
    //right, we have the built up sql string so it is time to insert into the DB One last time!
    foreach ($playersqla as $ps) {
        if (FALSE !== $wpdb->query($ps)) {
            $sucess = TRUE;
        }
    }
    /*
    if (FALSE !== $wpdb->query($updateteamAsql)) {
    	$sucess = TRUE;
    }
    if (FALSE !== $wpdb->query($updateteamBsql)) {
    	$sucess = TRUE;
    }*/
    bblm_update_tv($_POST['bblm_teamA']);
    bblm_update_tv($_POST['bblm_teamB']);
    if (FALSE !== $wpdb->query($updatematchsql)) {
        $sucess = TRUE;
    }
    if ($sucess) {
        print "<div id=\"updated\" class=\"updated fade\"><p>Increases and details have all been recorded. All done!</p></div>";
    }
    //////////////////////////
    //  !!END OF PROCESS!!  //
    //////////////////////////
} else {
    if (isset($_POST['bblm_player_actions'])) {
        //3rd Step: Recording the players actions for the match
        ///////////////////////////////////////////////////////////////////////////
        // Step 3: Updating bb_match_player table and recording changes to stats //
        ///////////////////////////////////////////////////////////////////////////