There were $107$ people at the wedding and $11$ tables, which could accommodate $10$ people each. This means there were about $11^{107}$ possible seating plans.
I read that in a book but didn't really understand the solution. I mean the solution doesn't consider the fact that each table can have a max of $10$ people and it actually doesn't care about the capacity of the table. Can anyone explain it to me?
The simplest way to read the problem is to consider all the seats distinct, so there are $110$ of them. In that case the first person has $110$ choices of seat, the next has $109$, the next has $108$ and so on. This gives $\frac {110!}{3!}$ possible seating plans. As in my comment, you may want to consider rotating people around a table the same seating plan. Each table has $11$ rotations, so you should divide by $11^{10}$. Maybe you want to consider swapping groups of people among the tables, so the tables are indistinguishable. Then you should divide by $11!$. You need to specify what makes a seating plan unique.