quick MySQL question
quick MySQL question
Out of context: Reply #6
- Started
- Last post
- 7 Responses
- mike0
doug, remove the semi-colon at the end of your sql statement inside of quotes... it is not needed.
so the line should end ORDER BY type DESC"
and again, if the type field is anything other than an integer you need to wrap single quotes around your compared value...
type='xxx'