Warning: Undefined array key "date" in /home/company36/3-6.company/public_html/metal/past_metal_price/history.php on line 3

Fatal error: Uncaught mysqli_sql_exception: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1 in /home/company36/3-6.company/public_html/metal/past_metal_price/history.php:12 Stack trace: #0 /home/company36/3-6.company/public_html/metal/past_metal_price/history.php(12): mysqli_query(Object(mysqli), 'select * from s...') #1 {main} thrown in /home/company36/3-6.company/public_html/metal/past_metal_price/history.php on line 12