smelikecat

导航

上一页 1 2 3 4 5 6 7 8 ··· 29 下一页

2016年2月29日 #

[mysqli_escape]mysql转义两次

摘要: // mysqli_real_escape_string // 第一次转义的结果 SELECT * FROM example WHERE f_email='example@exampl.com' and password='64e5b519b2e57ac6733f828b50a39547' // 第 阅读全文

posted @ 2016-02-29 19:22 smelikecat 阅读(323) 评论(0) 推荐(0)

2016年2月26日 #

[javascript-code-snippet]javascript代码段

摘要: <ul> <li>Picture 1</li> <li>Picture 2</li> <li>Picture 3</li> <li>Picture 4</li> <li>Picture 4</li> </ul> // code snippet 1 $("li").click(function () 阅读全文

posted @ 2016-02-26 18:26 smelikecat 阅读(355) 评论(0) 推荐(0)

[代码优化]PHP代码优化

摘要: // Code snippet 1 $u_id = Hnb_Session::getInstance()->getUserID(); $arr_joinedTribeInfo = array(); if($u_id) { $arr_joinedTribeInfo = Hnb_Model_Tribe: 阅读全文

posted @ 2016-02-26 10:32 smelikecat 阅读(189) 评论(0) 推荐(0)

2016年2月25日 #

[LISP] LISP Collections

摘要: lispbox: https://common-lisp.net/project/lispbox/ SBCL: http://sbcl.org/ 《Common Lisp in practical》: http://www.gigamonkeys.com/book/lather-rinse-repe 阅读全文

posted @ 2016-02-25 17:54 smelikecat 阅读(154) 评论(0) 推荐(0)

[php-error-report]PHP Strict Standards: Only variables should be passed by reference

摘要: // 报错代码:PHP Strict Standards: Only variables should be passed by reference $arr_userInfo['im_nation_cn'] = array_shift(preg_split('/,/' , $arr_userInf 阅读全文

posted @ 2016-02-25 17:31 smelikecat 阅读(294) 评论(0) 推荐(0)

上一页 1 2 3 4 5 6 7 8 ··· 29 下一页