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