title: Trying to print $_POST doesn't work
body: <p>I'm trying to print the values of any textfields. I'm using AJAX, jQuery and PHP, but the code doesn't work. It doesn't show any inside the <code>div id='pinta'</code>, it is empty.</p>
  
  <p>JavaScript:</p>
  
  <pre><code>$('#Enviar0').click(function() {
              var input1 =$('#primero input').serialize();
              $.ajax({ 
                     type:"POST",
                     url:"pintaParte.php",
                     data:input1,                   
                     success: function(data) {
                              $("#pinta").html(data);
                     }
              });         
  });
  </code></pre>
  
  <p>PHP:</p>
  
  <pre><code>&lt;?php
  if(isset($_POST['input1'])){
     foreach ($_POST['input1'] as $key =&gt; $value) {
          echo "&lt;p&gt;".$key."&lt;/p&gt;";
          echo "&lt;p&gt;".$value."&lt;/p&gt;";
          echo "&lt;hr /&gt;";
     }
  } 
  ?&gt;
  </code></pre>