function checkUsername($link,$username) {???if(!preg_match('/^[\w\x{4e00}-\x{9fa5}] {2,10}$/', $username)???{return '用戶名格式不符合要求'; }??}錯誤如下:Parse error: syntax error, unexpected '{' in?E:\phpstudy\WWW\user\check_form.lib.php?on line?6 為什么,明明沒有多余的符號,請大家指教,我是小白!
- 4 回答
- 1 關注
- 1632 瀏覽
添加回答
舉報
0/150
提交
取消
