faqts : Computers : Programming : Languages : PHP : Database Backed Sites : MySQL

+ Search
Add Entry AlertManage Folder Edit Entry Add page to http://del.icio.us/
Did You Find This Entry Useful?

0 of 1 people (0%) answered Yes
Recently 0 of 1 people (0%) answered Yes

Entry

I cannot connect to MySql when I use a password why! It is the right password too!

Nov 22nd, 2006 03:17
JOse Prasanthjose, Chris Jackson, Its me again Chris I need more space for my question.


The script I'm using is this 
<?php  $user="chris";
$conn = mysql_connect("localhost", $user, "bob" );
if($conn){
$msg="Congratulations $user, You connected to MySql"; }
?>
<html><head><title>Connection User</title></head><body><h3> <?php echo)
$msg); ?> </h3></body></html>

Please help.

What is the error message that is generated..?