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 '' as maker_name
FROM `all_parts_in_stocks` as mt
LEFT JOIN `all_pid_img`...' at line 1 in /var/www/123b_new/html/smarty_dirs/includes/functions.php:80
Stack trace:
#0 /var/www/123b_new/html/smarty_dirs/includes/functions.php(80): mysqli_query()
#1 /var/www/123b_new/html/smarty_dirs/includes/sources/brand_products.php(46): db_select()
#2 /var/www/123b_new/html/index.php(172): include('...')
#3 {main}
thrown in /var/www/123b_new/html/smarty_dirs/includes/functions.php on line 80