Assume I have the following variable assignments:
$dbhost = "localhost";
$dbuser = "me";
$dbpasswd = "MY$SELF";
Will the following code work?
$db = @mysql_connect("$dbhost", "$dbuser", "$dbpasswd")
I ask because of the $ in the value for $dbpasswd. I'm not sure if PHP gets confused and thinks that part of the variable is, itself, a variable. I'm trying to get my version of phpBB working, and at this point, I receive the error that it was unable to connect to the database. Any help is appreciated.