随笔分类 -  【服务器后端脚本-php】

【php学习-5】
摘要:mutil_query($result)){ //多查询 where } //执行查询 /* $result=$cone->query("SELECT * from test"); while($row=$result->fetch_row()){ print $row[0]; } $result- 阅读全文

posted @ 2018-08-27 17:09 activecode 阅读(176) 评论(0) 推荐(0)

【php学习-4】
摘要: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 阅读全文

posted @ 2018-08-26 15:41 activecode 阅读(162) 评论(0) 推荐(0)

【php练习源码】
摘要:Something is wrong with the XAMPP installation :-( value[$name]=$sex; } public function getInfomation($myClass){ foreach($this->vars as $name=>$value) 阅读全文

posted @ 2018-08-25 18:54 activecode 阅读(358) 评论(0) 推荐(0)

php学习【2】
摘要:1:运算符 2:控制语句 if,else if,else switch 3:数组排序 4:超级全局变量 5:for循环 6while和do ...while循环 7:函数 8:魔术常量 9:面向对象 <?php class myClassTow{ function __construct(){ // 阅读全文

posted @ 2018-08-12 11:36 activecode 阅读(255) 评论(0) 推荐(0)

php学习【1】
摘要:1:输出语句 2:注释 //:单行注释 /**/多行注释 3:变量 <?php $x=10; $y=90; function myFunction(){ //$GLOBALS['x']=$GLOBALS['y']+$GLOBALS['x']; global $x,$y; $x++; echo $x; 阅读全文

posted @ 2018-08-11 18:00 activecode 阅读(214) 评论(0) 推荐(0)

php如何连接mysql,并操纵后台服务器运作的过程
摘要:PHP,一个嵌套的缩写名称,是英文超级文本预处理语言(PHP:Hypertext Preprocessor)的缩写。PHP 是一种 HTML 内嵌式的语言,PHP与微软的ASP颇有几分相似,都是一种在服务器端执行的嵌入HTML文档的脚本语言,语言的风格有类似于C语言,现在被很多的网站编程人员广泛的运 阅读全文

posted @ 2018-07-28 17:39 activecode 阅读(924) 评论(0) 推荐(0)

导航