摘要:mutil_query($result)){ //多查询 where } //执行查询 /* $result=$cone->query("SELECT * from test"); while($row=$result->fetch_row()){ print $row[0]; } $result-
阅读全文
摘要:var_1=11; print $var1->var_1.$var2->var_1; ?> print_Color(); ?> y=self::$x; # code... } } $z=new myClass(); print $z->y; $w=new myClass(); print $w->y
阅读全文
摘要:Something is wrong with the XAMPP installation :-( value[$name]=$sex; } public function getInfomation($myClass){ foreach($this->vars as $name=>$value)
阅读全文
摘要:1:运算符 2:控制语句 if,else if,else switch 3:数组排序 4:超级全局变量 5:for循环 6while和do ...while循环 7:函数 8:魔术常量 9:面向对象 <?php class myClassTow{ function __construct(){ //
阅读全文
摘要:1:输出语句 2:注释 //:单行注释 /**/多行注释 3:变量 <?php $x=10; $y=90; function myFunction(){ //$GLOBALS['x']=$GLOBALS['y']+$GLOBALS['x']; global $x,$y; $x++; echo $x;
阅读全文
摘要:PHP,一个嵌套的缩写名称,是英文超级文本预处理语言(PHP:Hypertext Preprocessor)的缩写。PHP 是一种 HTML 内嵌式的语言,PHP与微软的ASP颇有几分相似,都是一种在服务器端执行的嵌入HTML文档的脚本语言,语言的风格有类似于C语言,现在被很多的网站编程人员广泛的运
阅读全文