身份证中字母转小写
This commit is contained in:
1 parent
ea6337e9e6
commit
a79e7bf237
6 files changed
+21
-8
No files matched your search
@@ -309,7 +309,7 @@ class Student extends Base
|
||||
// 各变量赋值
|
||||
$students[$i]['banji'] = $bj;
|
||||
$students[$i]['xingming'] = $value[1];
|
||||
$students[$i]['shenfenzhenghao'] = $value[2];
|
||||
$students[$i]['shenfenzhenghao'] = strtolower($value[2]);
|
||||
intval(substr($value[2],16,1) )% 2 ? $students[$i]['sex'] = 1 :$students[$i]['sex'] = 0 ;
|
||||
$students[$i]['shengri'] = substr($value[2],6,4).'-'.substr($value[2],10,2).'-'.substr($value[2],12,2);
|
||||
$students[$i]['school'] = $list['school'];
|
||||
|
||||
Reference in new issue
Block a user