function selectPendingPersons() { $temp = BSC_persons::SelectAll("p.IsActive='PENDING'"); $no = $temp->rowCount(); echo dataReader::getJsonData($temp->fetchAll(), $no, $_GET["callback"]); die; }
function SelectPersonInfo() { $temp = BSC_persons::SelectAll("PersonID=?", array($_SESSION["USER"]["PersonID"])); $temp = PdoDataAccess::fetchAll($temp, 0, 1); echo dataReader::getJsonData($temp, 1, $_GET["callback"]); die; }