开发者

problem during data update in php ajax

ajax code-

开发者_运维技巧
xmlhttp.open("GET","voting.php?qid="+qid+"&uid="+uid+"&type="+type,true);

html-

<td ><img src="images/up.jpeg" style="border:none;" title="Like" 
                onclick="doVote('<?php echo $q_id; ?>','<?php echo $_SESSION['UserId']; ?>','up')"></td>

problem: qid is getting passed to voting.php page but uid and type are not.Why?


try

xmlhttp.open("GET","voting.php?qid="+qid+"&uid="+uid+"&type="+type,true);

?

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜