0
My problem is this, I have a form where the user uploads, with that all right, but I would like it to enter with another name but if so, it inserts blank in the database.
$files=$rand."_".$_FILES['upload']['name'];
$array=implode(",", $files);
echo "<script>alert('Array: ".$array."')</script>";
With the code above, he sends the field $array
empty but if I do $files=$_FILES['upload']['name'];
he rules right.