Results 1 to 2 of 2
Sep 7, 2013, 15:32 #1
- Join Date
- Jul 2006
- 3 Post(s)
- 0 Thread(s)
What's wrong with my SELECT? (basic)
I have error in my SELECT query.
$query = $this->db->query("SELECT classid, nameclass FROM classes WHERE pathwayid = $pathwayid ORDER BY nameclass ASC");
Error Number: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'ORDER BY nameclass ASC' at line 1
Thanks in advance.I Love coding...
Don't click this link.