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