MySQL怎样取消严格模式
方法一,修改my.cnf 1、设置启动参数,将默认sql_mode改为宽松模式使用命令: echo 'sql-mode=NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' >> /etc/my.cnf 或手动修改: 文件位置:/etc/my.cn...
使用JS引入CSS到网页中
使用document.write方式输出引入css的link标签 在html文件顶部<head></head>之间添加 <script> document.write('<link rel='stylesheet' href='main.css'>'); </script> 分析: ...