image

 avatar
unknown
php
3 years ago
430 B
4
Indexable
         $quer1 = "INSERT INTO gallery (image) VALUES (?)";
         $stmt = mysqli_stmt_init($buller, $quer1);
         if (!mysqli_stmt_prepare($stmt, $quer1)) {
             exit("Kunne ikke upload til db.");
         }
         mysqli_stmt_bind_param($stmt, "s", $path);
         mysqli_stmt_execute($stmt);

Indsætter ingen, men den echo kun 1 ud af eks 2 eller + flere. og så skriver den det her: Kunne ikke upload til db.
Editor is loading...