index.html<!DOCTYPE html> <html lang="en"> <head> <meta&nbs...
230
一、创建商品表的SQL命令-- Adminer 4.7.1 MySQL dumpSET NAMES utf8;SET time_zone = '+00:00';SET foreign_...
220
<?phpnamespace app\admin\controller;use think\App;use think\Controller;use think\facade\Session;c...
179
//重载技术//重载:动态的创建类属性和方法//属性重载//__set(),__get(),__isset(),__unset()//const IS_ISSET = true;//const IS_...
194
<?php /** * Created by PhpStorm. * User: Administrator  ...
349
<?php /*连接数据库*/ $db = @mysqli_connect(&...
236
<?php namespace app\admin\controller; use app\admin\controller\Common; use think\C...
252
<?php$arr = [1, 2, 3, 4, 5];//echo count($arr);for ($i = 0; $i < count($arr); $i++) { &...
201
1、下载安装composer2、在WWW目录下执行composer create-project topthink/think tp513、cd tp51进入项目4、composer require ...
292
$url = 'http://news.cctv.com';$data = "";$ch = curl_init();curl_setopt($ch,CURLOPT...
142
老师 父类怎么可能调用子类中的方法或属性,父类是基类,如果一个父类被多个子类继承,父类咋知道自己会被哪个子类继承呢 就想这样调用 Father::getMoney() 也只会获取到父类的属...
310
$dsn="mysql:host=localhost;dbname=php_edu;charset=utf8;";$root='root';$password=...
212
$dsn="mysql:host=localhost;dbname=php_edu;charset=utf8;";$root='root';$password=...
151
首先下载Navicat软件并安装,这是一个很实用的数据库管理工具。在这个工具中对数据库进行相关操作。这样可以在后台管理中存入数据到数据库中,前端写好框架...
358
管理员登录界面渲染,利用框架引入。<?php /** * Created by PhpStorm. * User: Ad...
292