Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- MongoException in Collection.php line 42:
- zero-length keys are not allowed, did you use $ with double quotes?
- $validator = Validator::make($request->all(), [
- 'question' => 'required',
- 'options' => 'array|required',
- 'answers' => 'array|required'
- ]);
- if($validator->fails())
- {
- return redirect()->back()->with('e_message', $validator->messages()->all());
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement