Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

Laravel Validation

    $validated = $request->validate([
        'title' => 'required|unique:posts|max:255',
        'body' => 'required',
    ]);
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #Laravel #Validation
ADD COMMENT
Topic
Name
5+9 =