<?phpnamespace app\index\controller;use think\Controller;use think\facade\Request;use app\index\m...
258
<?phpnamespace app\index\controller;use think\Controller;use think\facade\Request;use app\index\m...
249
<?phpnamespace app\admin\controller;//use think\facade\View; //view创建静态代理use app\admin\mode...
229
<!doctype html><html><head><meta charset="utf-8"><title>支持ph...
421
<?php //创建一个数组 $min=3; $max=16; $data=range($min,$max); $count=count($data); //用for循环遍历 echo&nbs...
403
<!DOCTYPE html><html><head><meta http-equiv="Content-Type" content=&q...
225
<!DOCTYPE html><html><head><meta http-equiv="Content-Type" content=&q...
256
//连接及断开数据库 <?php $myDb = [ "type"=>"mysql&qu...
230
<!DOCTYPE html><html><head><meta http-equiv="Content-Type" content=&q...
248
<?php namespace cat; class Food { public static funct...
224
<!DOCTYPE html><html><head><meta http-equiv="Content-Type" content=&q...
288
<?php class Base { static public $name = &...
188
//test.php <?php //类的自动加载 $getMyClass =function($classNa...
155
<?php //第一步,写好一个基本函数,该程序的功能是将从$num1到$num2之间的数相加,输出和 function addself($num1,$num2) {&nb...
254
<?phpnamespace app\admin\controller;//use think\facade\View; //view创建静态代理use app\admin\mode...
267