Location: PHPKode > scripts > PQuery > process.php
<?php
header('Content-type: text/html; charset=iso-8859-2');

// DB connect
$conn = mysql_connect("localhost","root","rhqq2x");
		mysql_select_db("tabla");
		
if(isset($_REQUEST['delete']) && $_REQUEST['delete'] == true){
	$id = $_REQUEST['id'];
	
	// ezt a részt kivettem, így is azt csinálja amit kell
	//$siker = mysql_query("DELETE FROM adatok WHERE mediatorid = '$id'");
	$siker = true;
	
	if($siker) echo "Item removed!";
}
?>
Return current item: PQuery