Warning: Undefined variable $productName in /home/kimsaelectricals/public_html/product-details.php on line 17

Fatal error: Uncaught mysqli_sql_exception: Field 'time' doesn't have a default value in /home/kimsaelectricals/public_html/product-details.php:17 Stack trace: #0 /home/kimsaelectricals/public_html/product-details.php(17): mysqli_query(Object(mysqli), 'INSERT INTO vis...') #1 {main} thrown in /home/kimsaelectricals/public_html/product-details.php on line 17