PHP-Codeigniter:實習筆記2

1.剛接觸一個陌生系統的時候裏面會有不少函數,不知道在哪兒定義的,就能夠用如下這個「反射」來查詢xxx函數所在文件的路徑及行數
  $obj = new ReflectionFunction("xxx");
  $file = $obj->getFileName();
  $line = $obj->getStartLine();sql

2.服務器鏈接軟件:winscp服務器

3.sql語句 in:函數

  咱們都知道用=來設定判斷條件,好比:select *from db where name='admin'.net

  in 的做用相似於=,能夠一次設置多條件,如:select *from db where name in (admin,shabi)blog

4.where 1<>1,引伸出where1=1get

  具體說明:http://m.blog.csdn.net/blog/z_play_du/7239326io

  很清楚,頗有用~軟件

相關文章
相關標籤/搜索