
PHP
辰影
人笨不能怨社会我不怨我不怨
展开
-
jqgrid问题总结
所谓问题可能不是jqgrid本身问题,而是浏览器或应用的特殊需要而产生的问题。 01.单元格内的文本自动换行 : 加入样式:.ui-jqgrid tr.jqgrow td{ font-weight:normal; // overflow:hidden; // white-space:pre; white-space: normal !im转载 2013-05-23 14:47:55 · 831 阅读 · 0 评论 -
动态获取某年第几周的起始日期
function mm(input){ var year = document.getElementById("year").value; var week = document.getElementById("weeken").value; if(year==""||week=="") return; var d原创 2013-05-23 14:42:37 · 449 阅读 · 0 评论 -
The resource is not on the build path of a PHP project
在项目上Ctrl+点击 ,自动寻找类的时候,总是提示"The resource is not on the build path of a PHP project" 把自己的 .project 文件编辑net.sourceforge.phpeclipse.parserbuildernet.sourceforge.phpeclipse.phpnature转载 2013-05-23 16:36:05 · 1480 阅读 · 0 评论 -
获取URL
例: 我需要 获取当前的 的URL 地址$url_this = "http://".$_SERVER['HTTP_HOST'].$_SERVER['PHP_SELF'];echo $url_this;则显示 :http://localhost/lu.php $PS = "http://$_SERVER[HTTP_HOST]$_SERVER[PHP_SELF]";//当前转载 2013-05-23 16:47:17 · 842 阅读 · 0 评论 -
常用代码
1.弹出对话框,点确定后返回/关闭alert('删除计划成功!!!');window.close();关闭弹出窗口alert('增加申请成功!');window.location='qj_index.php'返回 2.输入框自动提示,点击清零<input name="to_email" type="text" id="to_email" value="$value" onmou原创 2013-05-23 16:48:45 · 387 阅读 · 0 评论 -
命令调用php文件
1、新建bat@echo offecho 定时执行PHP文件"D:\Program Files\wamp\php\php.exe" -q "D:\Program Files\wamp\www\test\auto_php.php" >> ../txt_test/auto_php.txtpause2、添加bat到任务计划原创 2013-05-23 16:32:53 · 736 阅读 · 0 评论