出现open_ssl 错误的解决办法:
修改php.ini(不同平台请自行查找php配置文件):
;extension=php_openssl.dll
将;去掉即可
修改php.ini(不同平台请自行查找php配置文件):
;extension=php_openssl.dll
将;去掉即可
2018-01-30
求解答!!!怎么回事,更新不了数据啊
"Call to a member function format() on string"
C:\wamp\www\Framing\laravel5.5\vendor\laravel\framework\src\Illuminate\Database\Eloquent\Concerns\HasAttributes.php:738
#0 {main} in C:\wamp\www\Framing\laravel5.5\public\index.php:0
"Call to a member function format() on string"
C:\wamp\www\Framing\laravel5.5\vendor\laravel\framework\src\Illuminate\Database\Eloquent\Concerns\HasAttributes.php:738
#0 {main} in C:\wamp\www\Framing\laravel5.5\public\index.php:0
2018-01-22
说id不从1000+n开始的,是因为你们在复制别人建表语句的时候,ENGINE=INNODB DEFAULT CHARSET = UTF8 AUTO_INCREMENT=1001 COMMENT='学生表';,这个地方的AUTO_INCREMEN为1001,也就是说,你的id是从1001开始的,跟老师设置的不一样而已!
2018-01-21
CREATE TABLE `student` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`name` varchar(255) DEFAULT NULL,
`age` tinyint(3) DEFAULT NULL,
`sex` tinyint(3) DEFAULT NULL,
`create_at` int(11) DEFAULT NULL,
`update_at` int(11) DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
`id` int(11) NOT NULL AUTO_INCREMENT,
`name` varchar(255) DEFAULT NULL,
`age` tinyint(3) DEFAULT NULL,
`sex` tinyint(3) DEFAULT NULL,
`create_at` int(11) DEFAULT NULL,
`update_at` int(11) DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
2018-01-11