I have this code:
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.