摘要:
<script type="text/javascript"> var os = function () { var ua = navigator.userAgent, isWindowsPhone = /(?:Windows Phone)/.test(ua), isSymbian = /(?:Sy 阅读全文
摘要:
修改表的类型 alter table emp modify ename varchar(20) 增加字段 alter table emp add column age int(3) 删除表字段 alter table emp drop column age 字段改名 alter table emp 阅读全文
摘要:
$status代表自定义状态码,有的人喜欢用$code,$message表示错误提示消息,$data代表返回数据,$httpStatus代表请求状态 阅读全文
摘要:
Nginx默认不支持pathinfo模式访问,所以通过index.php/控制器/方法名 访问会出错 但是可以通过index.php?s=/控制器/方法名 进行访问 如果要隐藏index.php并且通过pathinfo的方式访问,可以再Nginx配置文件中加入 上面一行表示还是支持没隐藏index. 阅读全文
摘要:
<input id="Button1" type="button" value="导出EXCEL" onclick="copyToClipboard('ta')"> <div style="width: 760px;float:left;" id="ta"> <table border="0" st 阅读全文
摘要:
ini_set("display_errors", "On"); error_reporting(E_ALL | E_STRICT); 阅读全文