JS/PHP: Wont alert error
<pre><code>    &lt;script type="text/javascript"&gt;
    $(function() {
  $("#continue").click(function () {
    $.ajax({
       type: "POST",
       url: "dbc.php?check=First",
    data: {full_name : $('#full_name').val(),
         usr_email : $('#usr_email').val()},

       success: function(msg){
            if(msg==1){
              $("#First_1").hide();
              $("#Next_2").toggle(); 
           }else{
              alert(msg);
           }         
        }
     });
     return false;
  });
}); 
    &lt;/script&gt;
</code></pre>

<p>Here's dbc.php?check=First <a href="http://phpbin.net/x/249121011" rel="nofollow">phpbin.net/x/249121011</a></p>

<p>if it´s receiving echo 1; from dbc.php?check=First, then hide &amp; toggle, else then alert the output error.</p>

<p>Please check the link for the php, what is wrong here?</p>

<p>Right now i just get an empty alert.</p>
