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