<?phpnamespace app\index\controller;use think\Controller;use think\facade\Request;use app\index\m...
271
<?phpnamespace app\index\controller;use think\Controller;use think\facade\Request;use app\index\m...
263
<?phpnamespace app\admin\controller;//use think\facade\View; //view創(chuàng)建靜態(tài)代理use app\admin\mode...
236
<!doctype html><html><head><meta charset="utf-8"><title>支持ph...
432
<?php //創(chuàng)建一個數(shù)組 $min=3; $max=16; $data=range($min,$max); $count=count($data); //用for循環(huán)遍歷 echo&nbs...
408
<!DOCTYPE html><html><head><meta http-equiv="Content-Type" content=&q...
235
<!DOCTYPE html><html><head><meta http-equiv="Content-Type" content=&q...
265
//連接及斷開數(shù)據(jù)庫 <?php $myDb = [ "type"=>"mysql&qu...
235
<!DOCTYPE html><html><head><meta http-equiv="Content-Type" content=&q...
262
<?php namespace cat; class Food { public static funct...
225
<!DOCTYPE html><html><head><meta http-equiv="Content-Type" content=&q...
299
<?php class Base { static public $name = &...
196
//test.php <?php //類的自動加載 $getMyClass =function($classNa...
159
<?php //第一步,寫好一個基本函數(shù),該程序的功能是將從$num1到$num2之間的數(shù)相加,輸出和 function addself($num1,$num2) {&nb...
258
<?phpnamespace app\admin\controller;//use think\facade\View; //view創(chuàng)建靜態(tài)代理use app\admin\mode...
270