hi frnds..
var headline = document.getElementById("headline");
var content = document.getElementById("content");
var data = "headline=" + headline + "&content=" + content;
xmlhttp.open("POST","newspost.php",true);
xmlhttp.onreadystatechange = handleServerResponse;
xmlhttp.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded');
xmlhttp.send(data);
i post data in this way...
n the next page i need to retrieve data ..
$d=$_post['data'];
echo $d;
output is combination of both values....
i need to split data as headline,content....plz give me some suggestions..