Ben sadece aşağıdaki gibi getJSON gelen parseInfo sonuçları () işlevi geçirdiğinizde, ben başka bir php fonksiyonu sayesinde son koyabilirsiniz böylece geri php değişken içine sonuç almak mümkün değildir.
$.getJSON('getinfo.php', { id:id }, parseInfo);
function parseInfo(data) {
<?php
$some_var = json_decode(data);
function some_function($some_var) {
// rest of the script here...
}
?>
}
Can anyone please help me out with this? I would really appreciate it.
Cheers!