var sidebar_align = 'right';
var content_container_margin = parseInt('290px');
var sidebar_width = parseInt('270px');
Unanswered: PHP Connection Error
I just need help with my login connection php for registered users to my site.
This is the error that it brings out when a user typed in his or her username and password....it shows
" Fatal error: Call to undefined function mysql_connect() in H:\Apache2\htdocs\LOGIN\db_fns.php on line 5 "
This is my db_fns.php file
$result = mysql_connect("localhost", "username", "password") or warn("Cannot connect!");
Can anyone help?
The error is from here:
$result = mysql_connect("localhost", "username", "password") or
PHP Connection error
I am trying to connect to mysql database but it keep on giving this error below:
Warning: mysql_connect(): Client does not support authentication protocol requested by server; consider upgrading MySQL client in H:\Apache2\htdocs\home\Connections\dbconn.php on line 9
Client does not support authentication protocol requested by server; consider upgrading MySQL client
I am using PHP4, MYSQL5, and Apache2 ...
The dbconn.php is here below:
$hostname_dbconn = "localhost";
$database_dbconn = "home";
$username_dbconn = "root";
$password_dbconn = "admin";
$dbconn = mysql_connect($hostname_dbconn, $username_dbconn, $password_dbconn) or die(mysql_error());
Can anyone help pls...