Passing POST data from Javascript(jquery) to php problems?
问题 I been trying to passing this value: // Content to submit to php Others string here. And this link: http://www.youtube.com/watch?v=CUUgKj2i1Xc&feature=rec-LGOUT-exp_fresh+div-1r-2-HM to a php page, and insert it to database. here is my current code: ... // javascript var content = $("#mcontent").val(); $.ajax({ url : '<?php echo PATH; ?>functions/save.php', type: 'POST', data: 'id=<?php echo $_GET['id']; ?>&content=' + content + '&action=save&val=<?php echo md5("secr3t" . $_SESSION['userid_id