摘要:
首先登录MySQL: mysql -u root -p123456 创建数据表,保证字段和csv文件中的列一致 mysql> show DATABASES; mysql> use TEST; mysql> show TABLES; mysql> CREATE TABLE mytable( -> id 阅读全文
摘要:
<?php namespace app\index\model; use think\Model; class User extends Model { /** * 添加数据 * @param array $data * @return int id值 */ public function inse 阅读全文