MadTechie Posted April 9, 2007 Share Posted April 9, 2007 whats the database name ? Quote Link to comment https://forums.phpfreaks.com/topic/43199-quick-question-on-php-register-and-login-scripts-mysql-error/page/3/#findComment-224751 Share on other sites More sharing options...
VeronMan Posted April 9, 2007 Author Share Posted April 9, 2007 107887 Quote Link to comment https://forums.phpfreaks.com/topic/43199-quick-question-on-php-register-and-login-scripts-mysql-error/page/3/#findComment-224771 Share on other sites More sharing options...
MadTechie Posted April 9, 2007 Share Posted April 9, 2007 use mysql_select_db('107887') Quote Link to comment https://forums.phpfreaks.com/topic/43199-quick-question-on-php-register-and-login-scripts-mysql-error/page/3/#findComment-224773 Share on other sites More sharing options...
VeronMan Posted April 9, 2007 Author Share Posted April 9, 2007 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 Quote Link to comment https://forums.phpfreaks.com/topic/43199-quick-question-on-php-register-and-login-scripts-mysql-error/page/3/#findComment-224802 Share on other sites More sharing options...
MadTechie Posted April 9, 2007 Share Posted April 9, 2007 just checking you did add the ; at the end! the whole line being mysql_select_db('107887'); Quote Link to comment https://forums.phpfreaks.com/topic/43199-quick-question-on-php-register-and-login-scripts-mysql-error/page/3/#findComment-224825 Share on other sites More sharing options...
VeronMan Posted April 9, 2007 Author Share Posted April 9, 2007 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? Quote Link to comment https://forums.phpfreaks.com/topic/43199-quick-question-on-php-register-and-login-scripts-mysql-error/page/3/#findComment-224865 Share on other sites More sharing options...
MadTechie Posted April 9, 2007 Share Posted April 9, 2007 To be trueful i don't care know. Your "Quickfix" is taking too long Quote Link to comment https://forums.phpfreaks.com/topic/43199-quick-question-on-php-register-and-login-scripts-mysql-error/page/3/#findComment-224949 Share on other sites More sharing options...
VeronMan Posted April 10, 2007 Author Share Posted April 10, 2007 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 Quote Link to comment https://forums.phpfreaks.com/topic/43199-quick-question-on-php-register-and-login-scripts-mysql-error/page/3/#findComment-225664 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.