I am facing problem in passing parrameters with ajax url.I think error is in parametters code syntax.Plz help.
var timestamp = null;
function waitformsg(id,name) {
$.ajax({
type:"Post",
url:"getdata.php?timestamp="+timestamp+"uid="+id+"uname="+name,
async:true,
cache:false,
success:function(data) {
});
}
I am accessing these parameters as follows
<?php
$uid =$_GET['uid'];
?>
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…