🚨 Exception [high]
Message: 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 'ORDER by id desc LIMIT 10' at line 1
File: /home/updatecomputerbd/public_html/account/clint.php (Line 100)
Code Context:
97:
98: >> 100: $result = $db->query("SELECT * FROM tbl_customer_order where customer_id = ".$_settings->clintdata('id')." ORDER by id desc LIMIT 10");
101: foreach($result as $row){
102: $i++;
103: extract($row);
Category: Syntax
Possible Causes:
- Missing semicolon
- Unclosed brackets or quotes
- Incorrect function syntax
- Invalid variable declaration
💡 Suggestions:
- Check for missing semicolons (;)
- Verify brackets and quotes are properly closed
- Use proper PHP syntax for arrays, functions, and classes
🔍 Stack Trace
#0 /home/updatecomputerbd/public_html/account/clint.php(100): mysqli->query()
#1 /home/updatecomputerbd/public_html/account.php(77): include()