After following, you can keep track of his dynamic information in a timely manner
Courses in the relevant section:Introduction to PHP for newbies
PHP 独特的语法混合了 C、Java、Perl 以及 PHP 自创新的语法 PHP可以比CGI或者Perl更快速的执行动态网页——动态页面方面,与其他的编程语 言相比 PHP支持几乎所有流行的数据库以及操作系统 最重要的是PHP可以用C、C++进行程序的扩展
2016-12-010个赞
集成环境 wampserver http://rj.baidu.com/soft/detail/10636.html?ald phpstudy http://rj.baidu.com/soft/detail/17836.html?ald
2016-12-010个赞
Courses in the relevant section:PHP tutorial
PHP,是英文超文本预处理语言Hypertext Preprocessor的缩写。PHP 是一种HTML 内嵌式的语言,是一种在服务器端执行的嵌入HTML文档的脚本语言。
2016-12-010个赞
Courses in the relevant section:Introduction to PHP
PHP(全称:PHP:Hypertext Preprocessor,即"PHP:超文本预处理器")是一种通用开源脚本语言。 PHP 脚本在服务器上执行。 PHP 可免费下载使用。
2016-12-010个赞
Courses in the relevant section:PHP installation (1-3)
集成环境 WampServer phpstudy
2016-12-010个赞
Courses in the relevant section:PHP syntax (1-4)
php语法 <?php //代码块; ?>
2016-12-010个赞
Courses in the relevant section:PHP variables
php 变量 变量以 $ 符号开始,后面跟着变量的名称 变量名必须以字母或者下划线字符开始 变量名只能包含字母数字字符以及下划线(A-z、0-9 和 _ ) 变量名不能包含空格 变量名是区分大小写的($y 和 $Y 是两个不同的变量)
2016-12-010个赞
Courses in the relevant section:PHP 5 echo and print statements
echo - 可以输出一个或多个字符串 print - 只允许输出一个字符串,返回值总为 1
2016-12-010个赞
Courses in the relevant section:PHP data types
整型(integer) 整数必须至少有一个数字 (0-9) 整数不能包含逗号或空格 整数是没有小数点的 整数可以是正数或负数 浮点型(float) 浮点数是带小数部分的数字,或是指数形式 布尔型(boolean) 布尔型返回的是 TRUE 或 FALSE 数组(array) 数组可以在一个变量中存储多个值 对象(object) 对象数据类型也可以用于存储数据 NULL 值 NULL 值表示变量没有值 资源(resource) 在使用资源时,系统会自动启用垃圾回收机制,释放不再使用的资源,避免内存消耗殆尽
2016-12-010个赞
Courses in the relevant section:PHP constants
PHP 常量 常量的值是不可以改变的 设置常量,使用 define() 函数 bool define ( string $name , mixed $value [, bool $case_insensitive = false ] ) name:必选参数,常量名称,即标志符。 value:必选参数,常量的值。 case_insensitive :可选参数,如果设置为 TRUE,该常量则大小写不敏感。默认是大小写敏感的
2016-12-010个赞
Courses in the relevant section:PHP string
并置运算符 (.) 用于把两个字符串值连接起来 strlen() 函数返回字符串的长度(字符数) strpos() 函数用于在字符串内查找一个字符或一段指定的文本
2016-12-010个赞
Courses in the relevant section:PHP operators
加 + 减 - 乘 * 除 / 余 %
2016-12-010个赞
Courses in the relevant section:PHP if...else statement
IF语句 if(条件){ //执行代码; } IF...ELSE语句 if(条件){ //满足条件执行语句; }else{ //不满足条件执行语句; }
2016-12-010个赞
Courses in the relevant section:PHP Switch statement
switch(条件){ case 1 : 语句1;break; case 2 : 语句2;break; case 2 : 语句3;break; default:语句4; }
2016-12-010个赞
Courses in the relevant section:PHP array
数值数组 - 带有数字 ID 键的数组 关联数组 - 带有指定的键的数组,每个键关联一个值 多维数组 - 包含一个或多个数组的数组
2016-12-010个赞