提交表单时收到错误
ErrorException(E_UNKNOWN)
数组到字符串转换
下面的是生成错误而不验证表单的代码
$rulesvalida=array(
'txt_name' => 'required|min:3',
'txt_phone_number' => 'required|numeric|min:8',
'txt_street_name' => 'required|min:3',
'txt_house_number' => 'required|min:3',
'txt_floor' => 'required|min:3',
'txt_side' => 'required|min:3',
'txt_post_code' => 'required|min:4',
'txt_post_town' => 'required|min:4',
'txt_country' => 'required',
);
return Validator::make($data, $rulesvalida, Lang::get('validation'));