After following, you can keep track of his dynamic information in a timely manner
Courses in the relevant section:Introduction to PHP Development Basics Tutorial
理解動(dòng)態(tài)語言的概念和運(yùn)做機(jī)制,熟悉基本的PHP語法 學(xué)習(xí)如何將PHP與HTML結(jié)合起來,完成簡單的動(dòng)態(tài)頁面 接觸學(xué)習(xí)MySQL,開始設(shè)計(jì)數(shù)據(jù)庫 不斷鞏固PHP語法,熟悉大部分的PHP常用函數(shù),理解面向?qū)ο缶幊?,MySQL優(yōu)化,以及一些模板和框架
2016-12-020個(gè)贊
Courses in the relevant section:Introduction to JavaScript
瀏覽器在發(fā)布時(shí)就確定了JavaScript的版本,加上很多用戶還在使用IE6這種古老的瀏覽器,這就導(dǎo)致你在寫JavaScript的時(shí)候,要照顧一下老用戶,不能一上來就用最新的ES6標(biāo)準(zhǔn)寫,否則,老用戶的瀏覽器是無法運(yùn)行新版本的JavaScript代碼的
2016-12-050個(gè)贊
Courses in the relevant section:PHP development basic tutorial environment setup
安裝環(huán)境 wampserver phpstudy 編譯器: sublime_text 等
2016-12-020個(gè)贊
Courses in the relevant section:PHP development basic tutorial: learning syntax
php語法 <?php //執(zhí)行代碼 ?> php中的注釋 單行注釋 // 多行注釋/*注釋內(nèi)容*/ 選擇需要注釋的內(nèi)容,使用快捷鍵ctrl+問號(hào)建
2016-12-020個(gè)贊
Courses in the relevant section:Variables in PHP development basic tutorial
變量以 $ 符號(hào)開頭,其后是變量的名稱 變量名稱必須以字母或下劃線開頭 變量名稱不能以數(shù)字開頭 變量名稱只能包含字母數(shù)字字符和下劃線(A-z、0-9 以及 _) 變量名稱對(duì)大小寫敏感($y 與 $Y 是兩個(gè)不同的變量)
2016-12-021個(gè)贊
Courses in the relevant section:Output statement of basic PHP development tutorial
echo - 可以輸出一個(gè)或多個(gè)字符串 print - 只允許輸出一個(gè)字符串,返回值總為 1
2016-12-020個(gè)贊
Courses in the relevant section:Data types of PHP development basic tutorial
String(字符串) Integer(整型) Float(浮點(diǎn)型) Boolean(布爾型) Array(數(shù)組) Object(對(duì)象) NULL(空值) resource(資源) 單引號(hào)與雙引號(hào)的差別 雙引號(hào)解析變量,但是單引號(hào)不解析變量
2016-12-020個(gè)贊
Courses in the relevant section:PHP development basic tutorial constants
常量名可以小寫,但是通常大寫 常量名可以不加引號(hào),但是通常加上引號(hào)。 在字符串中調(diào)用常量的時(shí)候,必須在引號(hào)外面 常量名建議只用字母和下劃線
2016-12-020個(gè)贊
Courses in the relevant section:PHP development basic tutorial operators
算術(shù)運(yùn)算符 加(+) 減(-) 乘(*) 除(/) 余(%) 賦值運(yùn)算符 += -= *= /= %= .= 自加自減 ++ -- 注:注意前置與后置的差別 比較運(yùn)算符 大于(>) 小于(<) 大于等于(>=) 小于等于(<=) 不等于(!=) 等于(==) 全等(===) 全不等(!==) 邏輯運(yùn)算符 與( &&或者and ) 或( || 或者 or ) 非(!)
2016-12-020個(gè)贊
Courses in the relevant section:PHP development basic tutorial if else statement
if(條件){ 執(zhí)行代碼; } if(條件){ 滿足條件執(zhí)行代碼; }else{ 不滿足條件執(zhí)行代碼; }
2016-12-020個(gè)贊
Courses in the relevant section:Basic PHP development tutorial for Switch
//定義一個(gè)變量,給一個(gè)值作為條件 $x = 6; switch($x){ case 1:echo "語句1";break; case 2:echo "語句2";break; case 3:echo "語句3";break; case 4:echo "語句4";break; default:echo "語句5"; }
2016-12-020個(gè)贊
Courses in the relevant section:PHP development basic tutorial loop statement
while(條件){ 執(zhí)行代碼; } do{ 執(zhí)行代碼; }while(條件) 注意:while循環(huán)先判斷條件是否滿足,滿足則執(zhí)行循環(huán)體代碼,否則跳出循環(huán) do..while循環(huán)是先執(zhí)行代碼,然后在判斷條件,滿足,繼續(xù)循環(huán)體代碼,不滿足跳出循環(huán),do..while循環(huán)至少執(zhí)行一次
2016-12-020個(gè)贊
Courses in the relevant section:PHP development basic tutorial array
索引數(shù)組 - 帶有數(shù)字 ID 鍵的數(shù)組 關(guān)聯(lián)數(shù)組 - 帶有指定的鍵的數(shù)組,每個(gè)鍵關(guān)聯(lián)一個(gè)值 多維數(shù)組 - 包含一個(gè)或多個(gè)數(shù)組的數(shù)組(之后章節(jié)介紹 注意:數(shù)組的下標(biāo)從0開始
2016-12-020個(gè)贊
Courses in the relevant section:PHP development basic tutorial: Sorting of arrays
sort() - 對(duì)數(shù)組進(jìn)行升序排列 rsort() - 對(duì)數(shù)組進(jìn)行降序排列 asort() - 根據(jù)關(guān)聯(lián)數(shù)組的值,對(duì)數(shù)組進(jìn)行升序排列 ksort() - 根據(jù)關(guān)聯(lián)數(shù)組的鍵,對(duì)數(shù)組進(jìn)行升序排列 arsort() - 根據(jù)關(guān)聯(lián)數(shù)組的值,對(duì)數(shù)組進(jìn)行降序排列 krsort() - 根據(jù)關(guān)聯(lián)數(shù)組的鍵,對(duì)數(shù)組進(jìn)行降序排列
2016-12-020個(gè)贊
Courses in the relevant section:Basic functions of PHP development tutorial
函數(shù)語法 function 函數(shù)名(){ 執(zhí)行代碼; } 調(diào)用函數(shù) 函數(shù)名();
2016-12-020個(gè)贊