摘要:
// 查询数据表 show tables // 查询创建表结构 show create table stu1; show create table stu1 \G; describe stu1; 阅读全文
posted @ 2020-05-29 14:47
EricBlog
阅读(104)
评论(0)
推荐(0)
摘要:
// 查看数据表 show databases; // 创建表 create database if not exists stu; // 删除表 drop database stu; // 查看创建表语句 show create database vega; // 修改数据库编码 alter da 阅读全文
posted @ 2020-05-29 14:05
EricBlog
阅读(96)
评论(0)
推荐(0)
摘要:
<?php /* * 验证错误 * 如果没有错 就返回空 * 有错返回错误信息 */ function check($file){ // 1. 验证是否有误 if($file['error'] != 0){ switch($file['error']) { case 1: return "文件大小超 阅读全文
posted @ 2020-05-29 11:16
EricBlog
阅读(273)
评论(0)
推荐(0)