Warning: Undefined variable $id in /home4/ki134659/en.gold-price-daily.com/gold.php on line 54

Warning: Undefined variable $id in /home4/ki134659/en.gold-price-daily.com/gold.php on line 56

Fatal error: Uncaught mysqli_sql_exception: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'and adate<1732140000 order by adate desc limit 30' at line 1 in /home4/ki134659/en.gold-price-daily.com/function.php:357 Stack trace: #0 /home4/ki134659/en.gold-price-daily.com/function.php(357): mysqli->query('select prices.*...') #1 /home4/ki134659/en.gold-price-daily.com/gold.php(56): last_d_p(NULL, 30, 'my/2024-10-21') #2 {main} thrown in /home4/ki134659/en.gold-price-daily.com/function.php on line 357