I have a script.js file that needs to capture a variable in php, how do I?
See what I have:
function atualizaFotos() {
$.ajax({
url: "imovel-fotos-id.php?cliente=&cod="
}).done(function (resposta) {
$("#fotos").html(resposta);
});
}
I have the client variable and the code variable. How to capture a php variable and pass it on this parameter?
I look forward to helping you!
Thank you!