title: jQuery getting array from php json_encode
body: <p>I created an array in php. I simply want to get the data it in jquery</p>
  
  <p>here is the array in support.php:</p>
  
  <pre><code>$postData = array(
          "error" =&gt; $error,
          "successInfo" =&gt; $successInfo,
          "email" =&gt; $_POST["email"],
          "subject" =&gt; $_POST["subject"],
          "description" =&gt; $_POST["description"],
  );
  
  echo json_encode($postData);
  </code></pre>
  
  <p>What shall I do in javascript side using jquery.getJSON?</p>
  
  <p>Thanks in advance!</p>