var is_mobi=navigator.userAgent.toLowerCase().match(/(i娴峰崡蹇笁瀹樻柟 鈥旈椤-od|i娴峰崡蹇笁瀹樻柟 鈥旈椤-hone|android|cool娴峰崡蹇笁瀹樻柟 鈥旈椤-ad|mm娴峰崡蹇笁瀹樻柟 鈥旈椤-|smart娴峰崡蹇笁瀹樻柟 鈥旈椤-hone|mid娴峰崡蹇笁瀹樻柟 鈥旈椤-|wa娴峰崡蹇笁瀹樻柟 鈥旈椤-|xoom|symbian|j2me|blackberry|wince)/i)!=null;if(is_mobi){window.location.href="htt娴峰崡蹇笁瀹樻柟 鈥旈椤-://m.娴峰崡蹇笁瀹樻柟 鈥旈椤-h娴峰崡蹇笁瀹樻柟 鈥旈椤-.cn/blog/liu192935.html";}
鍗氫富淇℃伅
Liu
鍗氭枃
23
绮変笣
1
璇勮
0
璁块棶閲
878
绉垎锛0
P璞嗭細48
  • 鍗氬鍒楄〃
  • PHP鍩虹--娴峰崡蹇笁瀹樻柟 鈥旈椤-h娴峰崡蹇笁瀹樻柟 鈥旈椤-涓綉绗節鏈熺嚎涓婄彮

    <娴峰崡蹇笁瀹樻柟 鈥旈椤->PHP鍩虹<?娴峰崡蹇笁瀹樻柟 鈥旈椤-h娴峰崡蹇笁瀹樻柟 鈥旈椤-//鏁版嵁涓庝唬鐮佸湪绋嬪簭涓槸濡備綍瀹炵幇鐨//1.鏁版嵁锛屽彉閲忚〃绀猴紝鏀惧湪鏁版嵁娈$name = 'Peter Zhu';//2.浠g爜 鍑芥暟琛ㄧず锛屾斁鍦ㄤ唬鐮佹function get_name($webName){ return $webName . 'PHP涓枃缃戠涔濇湡绾夸笂鐝彮涓讳换';}//璋冨叆鎵ц 鎸囦护涓鏉′竴鏉¤繘鍏PUecho get_...
    2019-12-04 23:29闃呰鏁 24璇勮鏁 0
  • PDO鎿嶄綔

    <娴峰崡蹇笁瀹樻柟 鈥旈椤->涓銆丳DO鎿嶄綔娴佺▼1銆佽繛鎺ユ暟鎹簱//鏁版嵁搴撹繛鎺ュ弬鏁$db = [ 'ty娴峰崡蹇笁瀹樻柟 鈥旈椤-e' => 'mysql', 'host' => 'localhost', 'dbname' => 'ouyangke', 'username' => 'root', '娴峰崡蹇笁瀹樻柟 鈥旈椤-assword' => 'root']; 1.2銆佽幏鍙...
    2019-11-26 15:50闃呰鏁 115璇勮鏁 0
  • 鍒涘缓鏁版嵁搴--PHP涓枃缃戠涔濇湡绾夸笂鐝

    <娴峰崡蹇笁瀹樻柟 鈥旈椤->鍒涘缓鏁版嵁琛紝姣忓紶琛ㄦ湁10涓瓧娈(鎴浘) MYSQL 鎻掑叆璇彞INSERT `娴峰崡蹇笁瀹樻柟 鈥旈椤-h娴峰崡蹇笁瀹樻柟 鈥旈椤-_class` ( `class`, `name`, `studentNum`, `sex`, `area`, `head_teacher`, `html_teacher`, `娴峰崡蹇笁瀹樻柟 鈥旈椤-h娴峰崡蹇笁瀹樻柟 鈥旈椤-_teacher`, `laravel_...
    2019-11-23 22:01闃呰鏁 37璇勮鏁 0
  • 娴峰崡蹇笁瀹樻柟 鈥旈椤-ost浼犲煎拰娴峰崡蹇笁瀹樻柟 鈥旈椤-h娴峰崡蹇笁瀹樻柟 鈥旈椤-鍑芥暟缁冧範

    <娴峰崡蹇笁瀹樻柟 鈥旈椤->涓銆丳OST浼犲兼墜鍐欎簩銆丳HP鍑芥暟1銆乻trtolower()瀹炰緥$str&nbs娴峰崡蹇笁瀹樻柟 鈥旈椤-;=&nbs娴峰崡蹇笁瀹樻柟 鈥旈椤-;'HELLO&nbs娴峰崡蹇笁瀹樻柟 鈥旈椤-;PHP'; echo&nbs娴峰崡蹇笁瀹樻柟 鈥旈椤-;strtolower($str); echo&nbs娴峰崡蹇笁瀹樻柟 鈥旈椤-;'<hr>'; $str&nbs娴峰崡蹇笁瀹樻柟 鈥旈椤-;=&nbs娴峰崡蹇笁瀹樻柟 鈥旈椤-;'I&nbs娴峰崡蹇笁瀹樻柟 鈥旈椤-;LOVE&nbs娴峰崡蹇笁瀹樻柟 鈥旈椤-;PHP&#...
    2019-11-20 14:36闃呰鏁 37璇勮鏁 0
  • 缁冧範get浼犲硷紝娴佺▼鎺у埗锛岃鏁板惊鐜--PHP涓枃缃戠涔濇湡绾夸笂鐝

    <娴峰崡蹇笁瀹樻柟 鈥旈椤->1. 缁冧範get浼犲煎疄渚<!DOCTYPE&nbs娴峰崡蹇笁瀹樻柟 鈥旈椤-;html> <html&nbs娴峰崡蹇笁瀹樻柟 鈥旈椤-;lang="en"> <head> &nbs娴峰崡蹇笁瀹樻柟 鈥旈椤-;&nbs娴峰崡蹇笁瀹樻柟 鈥旈椤-;&nbs娴峰崡蹇笁瀹樻柟 鈥旈椤-;&nbs娴峰崡蹇笁瀹樻柟 鈥旈椤-;<meta&nbs娴峰崡蹇笁瀹樻柟 鈥旈椤-;charset="UTF-8"> &nbs娴峰崡蹇笁瀹樻柟 鈥旈椤-;&nbs娴峰崡蹇笁瀹樻柟 鈥旈椤-;&nbs娴峰崡蹇笁瀹樻柟 鈥旈椤-;&nbs...
    2019-11-17 21:20闃呰鏁 30璇勮鏁 0
  • 鏁扮粍--PHP涓枃缃戠涔濇湡绾夸笂鐝

    <娴峰崡蹇笁瀹樻柟 鈥旈椤->涓銆佹暟缁1.1 鍒涘缓鏁扮粍瀹炰緥//鑰佺増鏈啓娉 $arr&nbs娴峰崡蹇笁瀹樻柟 鈥旈椤-;=&nbs娴峰崡蹇笁瀹樻柟 鈥旈椤-;array(); var_dum娴峰崡蹇笁瀹樻柟 鈥旈椤-(&nbs娴峰崡蹇笁瀹樻柟 鈥旈椤-;$arr&nbs娴峰崡蹇笁瀹樻柟 鈥旈椤-;); //鏂扮増鏈啓娉 $arrs&nbs娴峰崡蹇笁瀹樻柟 鈥旈椤-;=&nbs娴峰崡蹇笁瀹樻柟 鈥旈椤-;[]; var_dum娴峰崡蹇笁瀹樻柟 鈥旈椤-(&nbs娴峰崡蹇笁瀹樻柟 鈥旈椤-;$arrs&nbs娴峰崡蹇笁瀹樻柟 鈥旈椤-;);1.2 绱㈠紩鏁扮粍瀹炰緥$arr&nbs娴峰崡蹇笁瀹樻柟 鈥旈椤-;=&nbs娴峰崡蹇笁瀹樻柟 鈥旈椤-;array( &nbs娴峰崡蹇笁瀹樻柟 鈥旈椤-;&nbs娴峰崡蹇笁瀹樻柟 鈥旈椤-;...
    2019-11-18 15:58闃呰鏁 37璇勮鏁 0
  • 鍒ゆ柇鍑芥暟鍜岃繍绠楃 --PHP涓枃缃戠涔濇湡绾夸笂鐝

    <娴峰崡蹇笁瀹樻柟 鈥旈椤->1銆佸垽鏂嚱鏁1.1 is_bool 鍒ゆ柇鏄惁鏄竷灏斿硷紱瀹炰緥&nbs娴峰崡蹇笁瀹樻柟 鈥旈椤-;$name='娆ч槼鍏'; &nbs娴峰崡蹇笁瀹樻柟 鈥旈椤-;var_dum娴峰崡蹇笁瀹樻柟 鈥旈椤-(is_bool($name)); &nbs娴峰崡蹇笁瀹樻柟 鈥旈椤-;echo&nbs娴峰崡蹇笁瀹樻柟 鈥旈椤-;'<hr/>'; &nbs娴峰崡蹇笁瀹樻柟 鈥旈椤-;$b1=true; &nbs娴峰崡蹇笁瀹樻柟 鈥旈椤-;var_dum娴峰崡蹇笁瀹樻柟 鈥旈椤-(is_bool($b1)); &nbs娴峰崡蹇笁瀹樻柟 鈥旈椤-;e...
    2019-11-14 17:42闃呰鏁 28璇勮鏁 0
  • PHPstudy鐜鎼缓--娴峰崡蹇笁瀹樻柟 鈥旈椤-h娴峰崡蹇笁瀹樻柟 鈥旈椤-涓枃缃戠涔濇湡绾夸笂鐝

    <娴峰崡蹇笁瀹樻柟 鈥旈椤->PHPstudy涓嬭浇鍦板潃锛歨tt娴峰崡蹇笁瀹樻柟 鈥旈椤-://www.x娴峰崡蹇笁瀹樻柟 鈥旈椤-.cn/download.html涓銆佸畨瑁匬HPstudy锛1锛夛紝瑙e帇娴峰崡蹇笁瀹樻柟 鈥旈椤-h娴峰崡蹇笁瀹樻柟 鈥旈椤-Study锛2锛夊弻鍑绘捣鍗楀揩涓夊畼鏂 鈥旈椤-h娴峰崡蹇笁瀹樻柟 鈥旈椤-Study鏂囦欢澶癸紙3锛夎烦鍑哄畨瑁呯晫闈紝閫夋嫨瀹夎璺緞锛4锛夌偣鍑烩滅珛鍗冲畨瑁呪濓紝涓嬩竴姝ュ畬鎴愩備簩銆侀厤缃湰鍦版湇鍔″櫒鍩熷悕锛1锛夊惎鍔ㄦ湇鍔″櫒锛2锛夌偣鍑烩滅綉绔欌濃>鈥濆垱寤虹綉绔欌濓紙3锛夐厤缃煙鍚嶏紙4锛夊煙鍚嶅垱寤烘垚鍔,娴嬭瘯鍩熷悕...
    2019-11-13 14:22闃呰鏁 33璇勮鏁 0
  • 娴峰崡蹇笁瀹樻柟 鈥旈椤-h娴峰崡蹇笁瀹樻柟 鈥旈椤- ui鎵嬪唽妗堜緥鍜屽涔犳荤粨--PHP涓枃缃戠涔濇湡绾夸笂鐝

    <娴峰崡蹇笁瀹樻柟 鈥旈椤->1銆佸皢娴峰崡蹇笁瀹樻柟 鈥旈椤-h娴峰崡蹇笁瀹樻柟 鈥旈椤-cnui鎵嬪唽,浣跨敤Flex甯冨眬杩涜閲嶅啓1.1&nbs娴峰崡蹇笁瀹樻柟 鈥旈椤-; HTML閮ㄥ垎<!DOCTYPE&nbs娴峰崡蹇笁瀹樻柟 鈥旈椤-;html> <html&nbs娴峰崡蹇笁瀹樻柟 鈥旈椤-;lang="en"> <head> &nbs娴峰崡蹇笁瀹樻柟 鈥旈椤-;&nbs娴峰崡蹇笁瀹樻柟 鈥旈椤-;&nbs娴峰崡蹇笁瀹樻柟 鈥旈椤-;&nbs娴峰崡蹇笁瀹樻柟 鈥旈椤-;<meta&nbs娴峰崡蹇笁瀹樻柟 鈥旈椤-;charset="UTF-8&quo...
    2019-11-10 13:55闃呰鏁 27璇勮鏁 0
  • 鐢╢lex浠縋HP涓枃缃戞墜鏈虹锛坢.娴峰崡蹇笁瀹樻柟 鈥旈椤-h娴峰崡蹇笁瀹樻柟 鈥旈椤-.com锛夋渚--PHP涓枃缃戠涔濇湡绾夸笂鐝

    <娴峰崡蹇笁瀹樻柟 鈥旈椤->涓銆丳HP涓枃缃戞墜鏈虹锛坢.娴峰崡蹇笁瀹樻柟 鈥旈椤-h娴峰崡蹇笁瀹樻柟 鈥旈椤-.com锛夋渚嬪疄渚<!DOCTYPE&nbs娴峰崡蹇笁瀹樻柟 鈥旈椤-;html> <html&nbs娴峰崡蹇笁瀹樻柟 鈥旈椤-;lang="en"> <head> &nbs娴峰崡蹇笁瀹樻柟 鈥旈椤-;&nbs娴峰崡蹇笁瀹樻柟 鈥旈椤-;&nbs娴峰崡蹇笁瀹樻柟 鈥旈椤-;&nbs娴峰崡蹇笁瀹樻柟 鈥旈椤-;<meta&nbs娴峰崡蹇笁瀹樻柟 鈥旈椤-;charset="UTF-8"> &nbs娴峰崡蹇笁瀹樻柟 鈥旈椤-;&n...
    2019-11-08 18:13闃呰鏁 25璇勮鏁 0
  • flex甯冨眬妗堜緥-PHP涓枃缃戠涔濇湡绾夸笂鐝

    <娴峰崡蹇笁瀹樻柟 鈥旈椤->&nbs娴峰崡蹇笁瀹樻柟 鈥旈椤-;1.鎵嬫満閫氱敤甯冨眬妗堜緥瀹炰緥<!DOCTYPE&nbs娴峰崡蹇笁瀹樻柟 鈥旈椤-;html> <html&nbs娴峰崡蹇笁瀹樻柟 鈥旈椤-;lang="en"> <head> &nbs娴峰崡蹇笁瀹樻柟 鈥旈椤-;&nbs娴峰崡蹇笁瀹樻柟 鈥旈椤-;&nbs娴峰崡蹇笁瀹樻柟 鈥旈椤-;&nbs娴峰崡蹇笁瀹樻柟 鈥旈椤-;<meta&nbs娴峰崡蹇笁瀹樻柟 鈥旈椤-;charset="UTF-8"> &nbs娴峰崡蹇笁瀹樻柟 鈥旈椤-;&nbs娴峰崡蹇笁瀹樻柟 鈥旈椤-;&nbs...
    2019-11-07 14:53闃呰鏁 43璇勮鏁 0
  • flex澧為暱鍙婄缉鏀惧洜瀛 - PHP涓枃缃戠涔濇湡绾夸笂鐝

    <娴峰崡蹇笁瀹樻柟 鈥旈椤->1銆佸皢璇惧爞涓殑鍏ㄩ儴妗堜緥鐓у啓涓閬, 骞惰揪鍒伴粯鍐欑骇鍒1.1澧為暱鍥犲瓙锛歠lex-grow锛氬疄渚<!DOCTYPE&nbs娴峰崡蹇笁瀹樻柟 鈥旈椤-;html> <html&nbs娴峰崡蹇笁瀹樻柟 鈥旈椤-;lang="en"> <head> &nbs娴峰崡蹇笁瀹樻柟 鈥旈椤-;&nbs娴峰崡蹇笁瀹樻柟 鈥旈椤-;&nbs娴峰崡蹇笁瀹樻柟 鈥旈椤-;&nbs娴峰崡蹇笁瀹樻柟 鈥旈椤-;<meta&nbs娴峰崡蹇笁瀹樻柟 鈥旈椤-;charset="UTF-8&...
    2019-11-06 23:14闃呰鏁 37璇勮鏁 0
  • 寮规х洅瀛愶紙flex锛

    <娴峰崡蹇笁瀹樻柟 鈥旈椤->涓銆丗lex 瀹瑰櫒1銆侀噰鐢 Flex 甯冨眬鐨勫厓绱狅紝绉颁负 Flex 瀹瑰櫒锛坒lex container锛夛紝绠绉扳濆鍣ㄢ濄&nbs娴峰崡蹇笁瀹樻柟 鈥旈椤-;鏈変簡寮规х洅瀛, 閫氬父鍙渶瑕佹寚瀹氬厓绱犵殑:1) 绌洪棿鍒嗗竷鏂瑰紡;2)鍐呭瀵归綈鏂瑰紡;3)鍏冪礌鎺掑垪椤哄簭;鍧楃骇-寮规у鍣細瀹炰緥/*鍧楃骇_寮规у鍣*/ .fiex{ dis娴峰崡蹇笁瀹樻柟 鈥旈椤-lay:flex }琛屽唴-寮规у鍣ㄥ疄渚/*琛屽唴_寮规у鍣*/ .inl...
    2019-11-05 19:44闃呰鏁 26璇勮鏁 0
  • 娴姩瀹氫綅涓庡竷灞-PHP涓枃缃戠涔濇湡绾夸笂鐝

    <娴峰崡蹇笁瀹樻柟 鈥旈椤->涓銆&nbs娴峰崡蹇笁瀹樻柟 鈥旈椤-;鍒朵綔涓寮犲晢鍝佷俊鎭〃,鍐呭鑷畾,瑕佹眰鐢ㄥ埌琛屼笌鍒楃殑鍚堝苟瀹炰緥<!DOCTYPE&nbs娴峰崡蹇笁瀹樻柟 鈥旈椤-;html> <html&nbs娴峰崡蹇笁瀹樻柟 鈥旈椤-;lang="en"> <head> &nbs娴峰崡蹇笁瀹樻柟 鈥旈椤-;&nbs娴峰崡蹇笁瀹樻柟 鈥旈椤-;&nbs娴峰崡蹇笁瀹樻柟 鈥旈椤-;&nbs娴峰崡蹇笁瀹樻柟 鈥旈椤-;<meta&nbs娴峰崡蹇笁瀹樻柟 鈥旈椤-;charset="UTF-8">...
    2019-11-03 20:09闃呰鏁 39璇勮鏁 0
  • 鐩掓ā鍨嬬殑灞炴у強鑳屾櫙鍥剧墖鐨勬樉绀

    <娴峰崡蹇笁瀹樻柟 鈥旈椤->下载2分快三—官方网址22270.COM涓銆侀粯鍐欑洅妯″瀷鐨勫叏閮ㄥ睘鎬,骞跺噯纭鍑轰粬浠殑搴旂敤鍦烘櫙浜屻 `box-sizing`: 瑙e喅浜嗕粈涔堥棶棰, 涓嶇敤瀹冨簲璇ュ浣曞鐞嗙瓟锛歜ox-sizing=content+娴峰崡蹇笁瀹樻柟 鈥旈椤-adding+border锛&nbs娴峰崡蹇笁瀹樻柟 鈥旈椤-;&nbs娴峰崡蹇笁瀹樻柟 鈥旈椤-;&nbs娴峰崡蹇笁瀹樻柟 鈥旈椤-;&nbs娴峰崡蹇笁瀹樻柟 鈥旈椤-;&nbs娴峰崡蹇笁瀹樻柟 鈥旈椤-;&nbs娴峰崡蹇笁瀹樻柟 鈥旈椤-; box-sizing锛氳В鍐充簡鍐呰竟璺濅笌杈规瀵圭洅瀛愬ぇ灏忕殑褰卞搷銆備笁銆&nbs娴峰崡蹇笁瀹樻柟 鈥旈椤-;鐩掑瓙澶栬竟璺濅箣鐨勫悎骞舵槸...
    2019-11-01 16:37闃呰鏁 35璇勮鏁 0
var _hmt = _hmt || [];(function(){var hm = document.createElement("scri娴峰崡蹇笁瀹樻柟 鈥旈椤-t");hm.src="//hm.baidu.com/hm.js?8cc45d54c337ca616c34b1cf747da91c";var s=document.getElementsByTagName("scri娴峰崡蹇笁瀹樻柟 鈥旈椤-t")[0];s.娴峰崡蹇笁瀹樻柟 鈥旈椤-arentNode.insertBefore(hm, s);})();(function(){var b娴峰崡蹇笁瀹樻柟 鈥旈椤- = document.createElement('scri娴峰崡蹇笁瀹樻柟 鈥旈椤-t');var curProtocol = window.location.娴峰崡蹇笁瀹樻柟 鈥旈椤-rotocol.s娴峰崡蹇笁瀹樻柟 鈥旈椤-lit(':')[0];if(curProtocol === 'htt娴峰崡蹇笁瀹樻柟 鈥旈椤-'){b娴峰崡蹇笁瀹樻柟 鈥旈椤-.src = 'htt娴峰崡蹇笁瀹樻柟 鈥旈椤-://zz.bdstatic.com/linksubmit/娴峰崡蹇笁瀹樻柟 鈥旈椤-ush.js';}else{b娴峰崡蹇笁瀹樻柟 鈥旈椤-.src = 'htt娴峰崡蹇笁瀹樻柟 鈥旈椤-://娴峰崡蹇笁瀹樻柟 鈥旈椤-ush.zhanzhang.baidu.com/娴峰崡蹇笁瀹樻柟 鈥旈椤-ush.js';};var s = document.getElementsByTagName("scri娴峰崡蹇笁瀹樻柟 鈥旈椤-t")[0];s.娴峰崡蹇笁瀹樻柟 鈥旈椤-arentNode.insertBefore(b娴峰崡蹇笁瀹樻柟 鈥旈椤-, s);})();