Jump to content

Quick Question On PHP Register and Login Scripts - MYSQL Error


VeronMan

Recommended Posts

  • Replies 57
  • Created
  • Last Reply

Now i'm getting:

 

MySQL said:  

#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 'mysql_select_db('107887')

CREATE TABLE `songs` (
  `id` int 

Link to comment
Share on other sites

I didn't have that before, but after adding that I still got an error, the one below.

 

MySQL said:  

#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 'mysql_select_db('107887')' at line 1 

 

Still related to this mysql_select_database function, what's wrong with it?

Link to comment
Share on other sites

Ah well, and yeah, I thought it would be a "quick fix", but obviously not to be. So, i'll put out the question one last time, anybody know what this error below is?

 

MYSQL said:

#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 'mysql_select_db('107887')' at line 1

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.


×
×
  • 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.