最赞回答 / 慕粉1466766877
if ($length > strlen ( $chars )) { exit ( "字符串长度不够" ); //如果要求的验证码位数超过了数组的长度,则报错
2018-03-18
最赞回答 / 慕姐7623248
CREATE DATABASE IF NOT EXISTS`shopImooc`;USE`shopImooc`;DROP TABLE IF EXISTS `imooc_admin`;CREATE TABLE `imooc_admin`(`id` tinyint unsigned auto_increment key,`username` varchar(20) not null unique,`password` char(32) not null,`email` varchar(50) not null...
2018-03-18
最新回答 / 慕设计2812226
function update($table, $array, $str, $where=null){ foreach($array as $key=& $val){ if($str==null){ $sep=""; }else{ $sep=","; } ...
2018-02-18