fork download
  1. <?php
  2.  
  3. if (isset($_POST['btnCadastrar'])) {
  4. $msg = $objUs->qryInsert($_POST);
  5. if ($msg == 'ok') {
  6. header('location: cadastro.php');
  7. }else{
  8. echo '<script type="text/JavaScript">alert("'.$msg.'")</script>';
  9. }
  10. }
Success #stdin #stdout 0.02s 23300KB
stdin
Standard input is empty
stdout
Standard output is empty