if ($_POST['do'] == 'ajax'){ echo $_POST['pagevar']; exit;}
if ($_POST['do'] == 'ajax'){ echo $_POST['$variable']; exit;}