> A semicolon isn't required when calling MySQL via a function in PHP (or
> C, for that matter).
>
I suppose you are right, my mistake.
Have you checked to see if you are actually connected to the database
before you try to run the query? You will get the same error if you
are not connected.