Query String Causes Error 406
-
I’m attempting something relatively simple: query a database and display the information.
This is my query string:
$query1 = ‘SELECT * From Grand Order By placement’;
I get an Error 406 when trying to save this. I can save regular strings like this:
“Hi, how are you”
I can save this:
“SELECT * From”
The moment I add a space and anything else after that I get the Error 406. Removing the * and putting the specific columns I want returned doesn’t fix it either. I have no idea what could be causing this, it’s not like I’m DOING anything with the string, I’m just creating it.
- The topic ‘Query String Causes Error 406’ is closed to new replies.