Well my problem is that I'm trying to store images in my database in mysql this using the php language and you show me this notification
Notice: Undefined index: file-1[] in C:\xampp\htdocs\Hidtruth\PHP\configuracion\save.php on line 8
Here is the code of my file-type input.
<input type="file" name="file-1[]" id="file-1" class="inputfile inputfile-1" data-multiple-caption="{count} files selected" multiple />
Here is the code of my capture in php of my supposed file
$imagen=$_FILES["file-1[]"]["temp_name"];
echo $imagen;
If you realize it you can see that I do an echo towards the image to see what I get but I get the error above. What I want is to give me the path of my file and then copy it to a folder in my project.