Goodday everyone, I wrote a php code that registered users and and it works well but if I register a name and click save and continue it saves and brings me back to my menu instead of opening a new page to continue the resgistration and it shows this message:
" There is no 'user'@'localhost' registered" ....
I have looked at my conection code, the user name and password for the database is correct. So what is the problem?
Can anyone explain please.
Thanks.
PHP error messagePHP error message
Page 1 of 1
2 Replies - 1185 Views - Last Post: 20 September 2006 - 05:51 AM
Replies To: PHP error message
#2
Re: PHP error message
Posted 20 September 2006 - 05:08 AM
Without having any code, I would assume that you don't have access to a database, your username/password is wrong, or variables related to connecting are conflicting others.
#3
Re: PHP error message
Posted 20 September 2006 - 05:51 AM
Thanks.
But my db conection is correct and it works...see below
But my db conection is correct and it works...see below
<?php # FileName="Connection_php_mysql.htm" # Type="MYSQL" # HTTP="true" $hostname_dbConnect = "localhost"; $database_dbConnect = "company"; $username_dbConnect = "user"; $password_dbConnect = "user"; $dbConnect = mysql_pconnect($hostname_dbConnect, $username_dbConnect, $password_dbConnect) or die(mysql_error()); ?>
Page 1 of 1
|
|

New Topic/Question
Reply



MultiQuote



|