 <p>Your post's variables should all be concatenated.</p> <pre><code>$.post('pageprocessing.php',"replyID=" + replyID + "&amp;tableName=" + tableName, function(response) { alert(response); }); </code></pre> <p>You could alternatively use objects</p> <pre><code>$.post('pageprocessing.php',{ replyID : replyID, tableName : tableName }, function(response) { alert(response); }); </code></pre>