摘要: PHP生成一个六位数的邀请码 $unique_no = substr(base_convert(md5(uniqid(md5(microtime(true)),true)), 16, 10), 0, 6); 阅读全文
posted @ 2018-09-05 23:20 幽篁晓筑 阅读(3223) 评论(0) 推荐(0) 编辑
摘要: 表结构: CREATE TABLE test.testsort ( id int(11) NOT NULL AUTO_INCREMENT, uid int(11) DEFAULT 0 COMMENT '用户id', score decimal(10, 2) DEFAULT 0.00 COMMENT 阅读全文
posted @ 2018-09-05 23:12 幽篁晓筑 阅读(4594) 评论(0) 推荐(0) 编辑