Does anyone know why if I pass mysql_connect() or mysql_select_db() parms as variables or defined constants the connection always fails? If I copy and paste the values I assign to the variable or the defined constant it works like a champ. Can anyone explain this? Thanks in advance. -- Dana Holt / [EMAIL PROTECTED] Xenos Online http://www.xenosonline.com/ --------------------------- http://www.theydidmewrong.com/ http://www.shedidmewrong.com/ http://www.hedidmewrong.com/ -- -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]