# Uncaught mysqli\_sql\_exception: Table

**URL:** <https://forum.infinityfree.com/t/uncaught-mysqli-sql-exception-table/107446>\
**Category:** Hosting Support\
**Created:** [March 16, 2025, 12:13pm UTC](https://forum.infinityfree.com/t/uncaught-mysqli-sql-exception-table/107446 "2025-03-16T12:13:01Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![dan3008](https://forum.infinityfree.com/user_avatar/forum.infinityfree.com/dan3008/32/68577_2.png) [@dan3008](https://forum.infinityfree.com/u/dan3008)\
**Post date:** [March 16, 2025, 12:19pm UTC](https://forum.infinityfree.com/t/uncaught-mysqli-sql-exception-table/107446/2 "2025-03-16T12:19:54Z")

</div>

it looks like a likely typo in your code. double check that the name of your table matches in the code and database.

Capitisation must be the same, and so must any special characters (like \_)

looking at the error message, you’ve told the code to look for a table named \_user\_groups, but you’ve said the table is called user-groups.

---

_[View the full topic](https://forum.infinityfree.com/t/uncaught-mysqli-sql-exception-table/107446)._
