i have this example code:
while ($row = mysql_fetch_object($result1)) { echo \'
Jquery serialize is the best way to do this kind of things: http://docs.jquery.com/Ajax/serialize
$("#submit_js").click(function() { $.post( "user_submit.php", $("form").serialize(), function(data){ }); });