php - php sql密码问题中的大括号
问题描述
当我使用 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(...);
是否有某种我不知道的语法,因为我以前从未经历过这种情况。
解决方案
推荐阅读
- android - 如何确保 .gitignore 适用于同一存储库中的多个 Android 项目
- java - 以编程方式设置按钮的布局(计算器)
- javascript - 如何使用 javascript 将过滤器应用于嵌套数组中的所有对象
- ionic4 - 在ionic4中的单个页面中实现选项卡和菜单
- excel - 如何在 VBA 中为单元格公式使用多个变量
- android-studio-3.4 - 我正在尝试构建此应用程序,但出现一个错误。它看起来像 gradle 设置错误。所以我从应用程序中提供了 gradle 设置
- javascript - 如何使用ajax将画布数据从javascript发送到django
- react-native - 将 flatlist 的值保存在 asyncstorage 中
- mysql - ERROR 1267 (HY000): 非法混合排序规则
- javascript - vimeo 上的 REST Api 调用 - 获取视频播放秒数