index.html<!DOCTYPE html> <html lang="en"> <head> <meta&nbs...
239
一、創(chuàng)建商品表的SQL命令-- Adminer 4.7.1 MySQL dumpSET NAMES utf8;SET time_zone = '+00:00';SET foreign_...
229
<?phpnamespace app\admin\controller;use think\App;use think\Controller;use think\facade\Session;c...
184
//重載技術(shù)//重載:動(dòng)態(tài)的創(chuàng)建類屬性和方法//屬性重載//__set(),__get(),__isset(),__unset()//const IS_ISSET = true;//const IS_...
196
<?php /** * Created by PhpStorm. * User: Administrator  ...
354
<?php /*連接數(shù)據(jù)庫(kù)*/ $db = @mysqli_connect(&...
242
<?php namespace app\admin\controller; use app\admin\controller\Common; use think\C...
260
<?php$arr = [1, 2, 3, 4, 5];//echo count($arr);for ($i = 0; $i < count($arr); $i++) { &...
206
1、下載安裝composer2、在WWW目錄下執(zhí)行composer create-project topthink/think tp513、cd tp51進(jìn)入項(xiàng)目4、composer require ...
301
$url = 'http://news.cctv.com';$data = "";$ch = curl_init();curl_setopt($ch,CURLOPT...
149
老師 父類怎么可能調(diào)用子類中的方法或?qū)傩裕割愂腔?,如果一個(gè)父類被多個(gè)子類繼承,父類咋知道自己會(huì)被哪個(gè)子類繼承呢 就想這樣調(diào)用 Father::getMoney() 也只會(huì)獲取到父類的屬...
313
$dsn="mysql:host=localhost;dbname=php_edu;charset=utf8;";$root='root';$password=...
217
$dsn="mysql:host=localhost;dbname=php_edu;charset=utf8;";$root='root';$password=...
159
首先下載Navicat軟件并安裝,這是一個(gè)很實(shí)用的數(shù)據(jù)庫(kù)管理工具。在這個(gè)工具中對(duì)數(shù)據(jù)庫(kù)進(jìn)行相關(guān)操作。這樣可以在后臺(tái)管理中存入數(shù)據(jù)到數(shù)據(jù)庫(kù)中,前端寫好框架...
367
管理員登錄界面渲染,利用框架引入。<?php /** * Created by PhpStorm. * User: Ad...
299