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
理解动态语言的概念和运做机制,熟悉基本的PHP语法 学习如何将PHP与HTML结合起来,完成简单的动态页面 接触学习MySQL,开始设计数据库 不断巩固PHP语法,熟悉大部分的PHP常用函数,理解面向对象编程,MySQL优化,以及一些模板和框架
2016-12-020个赞
Courses in the relevant section:Introduction to JavaScript
浏览器在发布时就确定了JavaScript的版本,加上很多用户还在使用IE6这种古老的浏览器,这就导致你在写JavaScript的时候,要照顾一下老用户,不能一上来就用最新的ES6标准写,否则,老用户的浏览器是无法运行新版本的JavaScript代码的
2016-12-050个赞
Courses in the relevant section:PHP development basic tutorial environment setup
安装环境 wampserver phpstudy 编译器: sublime_text 等
2016-12-020个赞
Courses in the relevant section:PHP development basic tutorial: learning syntax
php语法 <?php //执行代码 ?> php中的注释 单行注释 // 多行注释/*注释内容*/ 选择需要注释的内容,使用快捷键ctrl+问号建
2016-12-020个赞
Courses in the relevant section:Variables in PHP development basic tutorial
变量以 $ 符号开头,其后是变量的名称 变量名称必须以字母或下划线开头 变量名称不能以数字开头 变量名称只能包含字母数字字符和下划线(A-z、0-9 以及 _) 变量名称对大小写敏感($y 与 $Y 是两个不同的变量)
2016-12-021个赞
Courses in the relevant section:Output statement of basic PHP development tutorial
echo - 可以输出一个或多个字符串 print - 只允许输出一个字符串,返回值总为 1
2016-12-020个赞
Courses in the relevant section:Data types of PHP development basic tutorial
String(字符串) Integer(整型) Float(浮点型) Boolean(布尔型) Array(数组) Object(对象) NULL(空值) resource(资源) 单引号与双引号的差别 双引号解析变量,但是单引号不解析变量
2016-12-020个赞
Courses in the relevant section:PHP development basic tutorial constants
常量名可以小写,但是通常大写 常量名可以不加引号,但是通常加上引号。 在字符串中调用常量的时候,必须在引号外面 常量名建议只用字母和下划线
2016-12-020个赞
Courses in the relevant section:PHP development basic tutorial operators
算术运算符 加(+) 减(-) 乘(*) 除(/) 余(%) 赋值运算符 += -= *= /= %= .= 自加自减 ++ -- 注:注意前置与后置的差别 比较运算符 大于(>) 小于(<) 大于等于(>=) 小于等于(<=) 不等于(!=) 等于(==) 全等(===) 全不等(!==) 逻辑运算符 与( &&或者and ) 或( || 或者 or ) 非(!)
2016-12-020个赞
Courses in the relevant section:PHP development basic tutorial if else statement
if(条件){ 执行代码; } if(条件){ 满足条件执行代码; }else{ 不满足条件执行代码; }
2016-12-020个赞
Courses in the relevant section:Basic PHP development tutorial for Switch
//定义一个变量,给一个值作为条件 $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个赞
Courses in the relevant section:PHP development basic tutorial loop statement
while(条件){ 执行代码; } do{ 执行代码; }while(条件) 注意:while循环先判断条件是否满足,满足则执行循环体代码,否则跳出循环 do..while循环是先执行代码,然后在判断条件,满足,继续循环体代码,不满足跳出循环,do..while循环至少执行一次
2016-12-020个赞
Courses in the relevant section:PHP development basic tutorial array
索引数组 - 带有数字 ID 键的数组 关联数组 - 带有指定的键的数组,每个键关联一个值 多维数组 - 包含一个或多个数组的数组(之后章节介绍 注意:数组的下标从0开始
2016-12-020个赞
Courses in the relevant section:PHP development basic tutorial: Sorting of arrays
sort() - 对数组进行升序排列 rsort() - 对数组进行降序排列 asort() - 根据关联数组的值,对数组进行升序排列 ksort() - 根据关联数组的键,对数组进行升序排列 arsort() - 根据关联数组的值,对数组进行降序排列 krsort() - 根据关联数组的键,对数组进行降序排列
2016-12-020个赞
Courses in the relevant section:Basic functions of PHP development tutorial
函数语法 function 函数名(){ 执行代码; } 调用函数 函数名();
2016-12-020个赞