if ($success) { echo ''; exit; } else { echo ''; exit; }