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