// start multiple image $stmt = $conn->prepare("INSERT INTO cat_images (img_url, cat_id) VALUES (?, ?)");$stmt->bind_param("si", $imagePath, $cat_id);$uploadedImages = $_FILES['images']; $cat_id = $conn->insert_id; foreach ($uploadedImages['name'] as $key...