Member Avatar

Hello, Happy new year guys.. I am trying to find a way to Upload and Display multiple images for one product on an ecommerce website that I am working on! At the moment I can only upload one image for each product. My current code is bellow: **This is upload.php** <?php // Script Error Reporting error_reporting(E_ALL); ini_set('display_errors', '1'); ?> <?php include "../config/connect_to_mysql.php"; ?> <?php // Parse the form data and add inventory item to the system if (isset($_POST['product_name'])) { $product_name = mysql_real_escape_string($_POST['product_name']); $price = mysql_real_escape_string($_POST['price']); $quantity = mysql_real_escape_string($_POST['quantity']); $category = mysql_real_escape_string($_POST['category']); $details = mysql_real_escape_string($_POST['details']); // See if that product name …

Member Avatar
0
65

The End.