I don’t find the right way for this request:
//Dhtmlx
window.dhx.ajax.post("test1.php",{ string:"text", nr:123 },function(text, xml, xhr){
console.log(text.xmlDoc.response);
});
//PHP
<?php
$string = $_POST['string'];
$nr = $_POST['nr'];
echo "$string $nr";
?>
Where is the problem?