ID: 35473 Updated by: [EMAIL PROTECTED] Reported By: parthk at bsil dot com -Status: Open +Status: Bogus Bug Type: *Database Functions Operating System: Windows 2000 PHP Version: 4.4.2RC1 New Comment:
Sorry, but your problem does not imply a bug in PHP itself. For a list of more appropriate places to ask for help using PHP, please visit http://www.php.net/support.php as this bug system is not the appropriate forum for asking support questions. Due to the volume of reports we can not explain in detail here why your report is not a bug. The support channels will be able to provide an explanation for you. Thank you for your interest in PHP. Previous Comments: ------------------------------------------------------------------------ [2005-11-29 12:54:02] parthk at bsil dot com Description: ------------ Hi, I am trying to coonect to MS SQL 2000 from PHP. The connection is all the times but when i give a database name with $ sign in it then it fails. Can you let me know if we have way out from this Thanks Parth Reproduce code: --------------- $myServer = "localhost"; $myUser = "sa"; $myPass = ""; $myDB = "DE$CIP"; $s = @mssql_connect($myServer, $myUser, $myPass) or die("Couldn't connect to SQL Server on $myServer"); $d = @mssql_select_db([DE$CIP], $s) or die("Couldn't open database $myDB"); Expected result: ---------------- Get connected to the database Actual result: -------------- Notice: Undefined variable: CIP in D:\inetpub\livesite\DE_2\catalog\sql.php on line 6 Couldn't open database DE ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=35473&edit=1
