hi,
i'm using this code to post to a php page:
var qreq = ".....myurl.php";
$.post(qreq, function(data){alert(data);});
in my PHP file i have this:
......
$prevtopic = $row["topic_id"];
echo $prevtopic;
the alert comes up, but is blank. for some reason data is empty even though i'm echoing from the PHP file. i also tried just echoing "hi" but that didn't work either. what am i doing wrong?
thanks.