Upload multiple Jquery, Ajax and retrieve data with PHP

0

I have this code:

html and JS

But when trying to get the data on the other side:

var_dump($_POST);
var_dump($_FILES);

In the case of $_POST it returns the values in array, but the images do not return anything.

And if I try to get:

$descricaofoto = $_POST['descricaofoto'];
$caminhofoto = $_POST['caminhofoto']);
$datavisita = $_POST['datavisita']);
$idvisita = $_POST['idvisita']);
$percentandamento = $_POST['percentandamento']);

and have an echo in the variable of the indefinite error.

    
asked by anonymous 12.09.2018 / 17:10

0 answers