title: Easyphp 5.3.5.0 and Ajax: maybe json_encode
body: <p>I'm using Easyphp 5.3.5.0 on my pc to bulid some Ajax simple dynamic operations.</p>
  
  <p>I would to refresh a list on click to "add item" button, so the button have an event on click.</p>
  
  <p>The first javascript page do this in the click event:</p>
  
  <pre><code>$.post("operation/insert.php", { type : "cliente", name : nome, surname : cognome ,  description : descrizione, day : giornoNascita, month : meseNascita, year : annoNascita }, function(data){  
  alert("HELLO!");
  },'json');
  </code></pre>
  
  <p>In the Php page, "operation/insert.php", after preliminar checks on the variables I run this code:</p>
  
  <pre><code>$q_add_client = mysql_query($query);
  
      $return = array(
          id =&gt; mysql_insert_id(),
          response =&gt; 0
      );
  
      echo json_encode($return);
  </code></pre>
  
  <p>I'm sure that the query is executed, because I can see the new item in my database. But, at the end, i don't see my alert("HELLO!"), so i think that there's a problem with json_encode function and his parameters. It don't execute my callback function in Javascript module, at row $.post(...).</p>
  
  <p>Can anyone help me please? Thanks</p>