creating multiple uploads using the same username
<p>how can the user create multiple uploads using the same username i don't know what to do please guide me. the idea is this the user creates a custom shirt using div then when the user is done the div is converted into an image the user manually upload the image with some information that he/she types like the title of the product, keywords and description of the product image the the user created. right now what happens is that the user is only allowed to upload one image and one title etc. how can i allow the user to create multiple uploads using the same username/email? i want to make this as simple as possible without making multiple tables in DB i only have basic code that i use to upload </p>

<p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
<div class="snippet-code">
<pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;?php
 require_once("configur.php");
 
$mysqli = new mysqli(localhost,password, user);

$query='UPDATE shirt_table SET   images4="'.$_FILES['file5']['name'].'", images5="'.$_FILES['file6']['name'].'", images6="'.$_FILES['file7']['name'].'", images7="'.$_FILES['file8']['name'].'"
WHERE email= "'.$_SESSION['email'].'"';

if ($mysqli-&gt;query($query) === TRUE) {
    echo "Record updated successfully";
} else {
    echo "Error updating record: " . $conn-&gt;error;
}

$mysqli-&gt;close();
?&gt;</code></pre>
</div>
</div>
</p>