PHP sql密码问题中的花括号

时间:2019-10-25 06:30:38

标签: php sql passwords

当我使用php和用户名以及密码连接到på数据库时,它可以连接。但是出于某些奇怪的原因,我必须用两个大括号键入密码。而且,如果我手动登录数据库,它不会用两个大括号登录。

Username = "xxxxx";
Password = "thisis(a}password"; //thisis(a}}password  --- this is not the password, but this password is the only one accepted?
sqlsrv_connect(...);

有某种我不知道的语法,因为我以前从未经历过。

0 个答案:

没有答案
相关问题