I'm running a query on a page that is calling two variables that are being passed to it.
the query is as follows:
SELECT * FROM database WHERE Variable1='$Variable1' Variable2='$Variable2'
The Error I am getting is:
SQL Error
Query failed with the following: (Error #1064) You have an error in your SQL syntax;
The query looks fine to me, but I could be wrong.... Any thoughts?