06 2015 档案

摘要:Readonly和Disabled它们都能够做到使用户不能够更改表单域中的内容。但是它们之间有着微小的差别,总结如下: Readonly只针对input(text / password)和textarea有效,而disabled对于所有的表单元素都有效,但是表单元素在使用了disabled后,当我们... 阅读全文
posted @ 2015-06-24 14:12 rickon 阅读(313) 评论(0) 推荐(0)
摘要:$res = $db->join('b on a.ex_id = b.pe_eid')->select();注意:这里的表a、表b需要带表前缀 阅读全文
posted @ 2015-06-16 13:31 rickon 阅读(169) 评论(0) 推荐(0)
摘要:$where['ex_account'] = array('like','%'.$p.'%');$where['ex_nickname'] = array('like','%'.$p.'%');$where['_logic'] = 'or';$res = $db->where($where)->se... 阅读全文
posted @ 2015-06-16 13:29 rickon 阅读(286) 评论(0) 推荐(0)
摘要:经朋友推荐来到博客园的,非常喜欢。希望在这里能学到更多知识。 阅读全文
posted @ 2015-06-16 11:13 rickon 阅读(92) 评论(0) 推荐(0)