$val = $_GET['nocAddTrue']; echo $pProfile->getPKids('true'); } //====================================== LANGUAGE ====================================== //SAVE LANGUAGE if ($_GET['langSave']) { $pLang = cleanInput($_GET['plang']); $pLevel = cleanInput($_GET['plevel']); $lID = autoID(); if ($pProfile->setRquery("INSERT INTO amistiLanguage VALUES(?,?,?,?)", array($lID, $UID, $pLang, $pLevel))) { echo "<div class=genCon id=" . $lID . ">" . $pLang . " · " . $pLevel . "<span class=genDelIcon></span></div>"; } } //SHOW LANGUAGE if ($_GET['showSave']) { $pProfile->getlanguage(true); } //ERROR LANGUAGE NOT SELLECTED if ($_GET['errorLangSave']) { echo '<p>Please select Language and Level options provided below... </p>'; } //LANGUAGE DELETE WARNING if ($_GET['delLangCheck']) { $langN = $_GET['langN']; echo " Confirm to delete " . ucwords($langN) . " language"; } // DELETE LANGUAGE if ($_GET['delLang']) { $langID = $_GET['langID']; $pProfile->setRquery("DELETE FROM amistiLanguage WHERE languageID=? AND userID=?", array($langID, $UID)); $pProfile->setRquery("SELECT * FROM amistiLanguage WHERE userID=?", array($UID));