title: how to insert a form value by ajax in php...any example..?
body: <p>I have been asked to insert a form  value by Ajax in PHP and I am puzzled a looking for a good example of it and any good example site URL?</p>
  
  <p>I am using this code:</p>
  
  <pre><code>var dataString = 'name='+ name + '&amp;email=' + email + '&amp;phone=' + phone;  
  //alert (dataString);return false;  
  $.ajax({  
    type: "POST",  
    url: "bin/process.php",  
    data: dataString,  
    success: function() {  
      $('#contact_form').html("&lt;div id='message'&gt;&lt;/div&gt;");  
      $('#message').html("&lt;h2&gt;Contact Form Submitted!&lt;/h2&gt;")  
      .append("&lt;p&gt;We will be in touch soon.&lt;/p&gt;")  
      .hide()  
      .fadeIn(1500, function() {  
        $('#message').append("&lt;img id='checkmark' src='images/check.png' /&gt;");  
      });  
    }  
  });  
  return false;
  </code></pre>