Jump to content

Recommended Posts

How do you know there is an error? Did you check for an error from MySQL? If you had, I would have expected you would have provided it.

 

FYI: I know what the problem is, but I'm going to make you work for it. Sorry, I believe in teaching someone to fish as opposed to just giving them one. So, please post the error you receive.

Link to comment
https://forums.phpfreaks.com/topic/288847-mysql-insert-error/#findComment-1481211
Share on other sites

How do you know there is an error? Did you check for an error from MySQL? If you had, I would have expected you would have provided it.

 

FYI: I know what the problem is, but I'm going to make you work for it. Sorry, I believe in teaching someone to fish as opposed to just giving them one. So, please post the error you receive.

 

I'm getting this mysql error:

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 'Like INT,Score CHAR(30))' at line 1

Tried some things but still getting the error TT, Im nubie in mysql :(

Link to comment
https://forums.phpfreaks.com/topic/288847-mysql-insert-error/#findComment-1481250
Share on other sites


Tried some things but still getting the error TT, Im nubie in mysql :(

 

Yep, I understand that. And I don't expect you would have figured out the error through that (reserved words usually catch everyone at least once in the beginning). But, when asking for help it's common courtesy to provide the errors (if you are getting them). In this case I could have told you what the problem was from the query you posted. But, it could have been any number of problems that could not be identified through the query alone.

Link to comment
https://forums.phpfreaks.com/topic/288847-mysql-insert-error/#findComment-1481256
Share on other sites

Yep, I understand that. And I don't expect you would have figured out the error through that (reserved words usually catch everyone at least once in the beginning). But, when asking for help it's common courtesy to provide the errors (if you are getting them). In this case I could have told you what the problem was from the query you posted. But, it could have been any number of problems that could not be identified through the query alone.

 

I will do as you say next time don't worry :), ty for help guys!

Link to comment
https://forums.phpfreaks.com/topic/288847-mysql-insert-error/#findComment-1481258
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.