Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

When you click on the search button, it is moved to the page laravel

public function searchForm() {
    return view('search');
}

public function search(Request $request) {
    // get the input
    $inputText = ...;
    // logic to get the profile name
    $profileName = ...;
    return redirect('/profile/'.$profileName);
}
 
PREVIOUS NEXT
Tagged: #When #click #search #moved #page #laravel
ADD COMMENT
Topic
Name
4+2 =