var id="1";
$.ajax({
type: 'POST',
url: 'yourphppage',
dataType: "json",
data: {
idofrow:id
},
success: function(data) {
alert(data);
},
error: function(data) {
alert(data);
}
});
ajax, , , , , , json text.
php-
$id = ($_POST['idofrow']);
,
SELECT * FROM table where rowid = $id
.