Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialKonrad Pilch
2,435 PointsPHP Error what it mean
HI,
What this error mean? i dont have any code at line 2 anyways.
ERROR Could not able to executeYou have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')' at line 2
2 Answers
Ryan Field
Courses Plus Student 21,242 PointsThis means that you have an error in the syntax of your mySQL database call before your closing parenthesis. It's hard to say anything else without seeing your query, though.
Konrad Pilch
2,435 PointsI got it! Just a typo, and extra comma at the end : p
What do you think Ruby on Rails vs PHP?
Konrad Pilch
2,435 PointsKonrad Pilch
2,435 PointsThis is index:
Database :
Register: