请问一下 url 搜索的关键字中有 / 怎么办
请问一下url搜索的关键字中有/怎么办 我们的伪静态url www.aaa.com/admin/search/searchword/{$word}.html可是我的搜索关键字里面有/ 像:c/s &
作者: zhanglang 发布时间: 07-25
关于项目使用了分组,模版的分隔符用了下划线_后问题?
关于项目使用了分组,模版的分隔符用了下划线_后问题?模版Home/Index_index.html现在如果在Action类里吗publicfunctionindex(){ this->display('edit');//调用edit模版:-)test}应该调用Home/Index_edit.html模版,可是报错Home/Index/index.ht
作者: xcf007 发布时间: 07-25
php连接sql server2005
php连接sqlserver2005除了连接函数不同外,其他的函数是相通的吗? 那位对php连接sqlserver比较熟悉的给小弟个指点啊!
作者: 小军 发布时间: 07-22
Thinkphp框架的问题--关联模型查询的问题。
User员工,Dept部门user表里的外键deptid对应部门里的id部门名‘deptname=’IT部'$list=$User->relation('Dept')->where("deptname='IT部'")->Select(); 什么也查不出来,如果换成deptid=1条件就可以,为什么,难道where里面字段只能是User表的?
作者: xcf007 发布时间: 07-25
分组模式下为什么总是莫名地生成IndexAction.class.php文件
2.1版本下,使用了分组模式,Lib/Action/目录下为什么总是生成IndexAction.class.php文件
作者: rqyy 发布时间: 07-24
为什么我的自动验证老是有问题?
classRoleModelextendsModel{ //自动验证 protected$_validate=array( //array(验证字段,验证规则,错误提示,验证条件,附加规则,验证时间) &nb
作者: 水平凡 发布时间: 07-23
2.1版U方法问题
如题tp版本2.1{:U('system://news@?id='.$vo[id])}路由:array('news','news/new_view','id')URL:http://www.fsyisa.com/news_id_10html
作者: pangdan118 发布时间: 07-23
TP中构造函数的问题
我尽量打问题说的明白些我写了两个类,BaseAction.class.php(基类),IndexAction.class.php(首页,继承与基类).代码如下classBaseActionextendsAction{ //这里我想定义一些全局变量 public$id;&nbs
作者: chenghp 发布时间: 07-23