Not need $searc_text = $_GET['QUERY']; Using Request or request helper; public function search(Request $request){ $search_text = $request->get('query'); }
Brother. I am trying to remove the white space or ignore the white space between the column value on a where statement. For example a user may search for "B35 TYE" or "B35TYE" postcodes, so i need to match on the where statement whether the DB has values stores with or without spaces. $jobs->where('CollPCode','LIKE','%'.$colpostcode.'%'); I want to show these both in suggestion list "B35 TYE" and "B35TYE". Any suggestion? Thanks
Thank you for the video. Do you offer a paid course on How to Create a Simple Rental System? The Transactions form must have an Input Search Box for Customers, and another input Search Box for Items, Due Borrowed, Date Due.
Hello, thank you for your video, i am making the same as you but in search users in a database, i did exactly the same as you but when i look for a user in the search field using submit button i get the "Not Found page 404", instead of products i am using users database, above in the Not Found page i get /search?query=ramon, but wit Not found page
thank you. Although I have not learned programming, but watching your videos I can customize my website by myself. 👍
Beautiful..keep it up...
Lifesaver! Subbed and cant wait for more
Amazing video. Concise, effective and well explained. Thank you so much. I hope your channel grows well.
thanks a lot you saved me from a big trouble 👍😍👏
Same here
How to hide search in url ? Please reply
Not need $searc_text = $_GET['QUERY'];
Using Request or request helper;
public function search(Request $request){
$search_text = $request->get('query');
}
Thanks, tried it here and it worked!
Thanks man. It is simple and easy yet works.
Thank you so much! You helped me a lot!
Glad I could help!
where does the category came from, ->with('category')
Thanks for the course #laravel #codeonline
Good job.. clean code wish you the best
thanks for ur videos I love it
Application doesn't show search record on page, but when i write dd() function it show me the correct record
I could help if you could paste code of your controller and view..
Keep it up man👏😍
Brother. I am trying to remove the white space or ignore the white space between the column value on a where statement.
For example a user may search for "B35 TYE" or "B35TYE" postcodes, so i need to match on the where statement whether the DB has values stores with or without spaces.
$jobs->where('CollPCode','LIKE','%'.$colpostcode.'%');
I want to show these both in suggestion list "B35 TYE" and "B35TYE". Any suggestion? Thanks
Very helpful, thank you!
You're welcome!
Hello my friend! You helped me a lot! Thank you :)
Glad I could help!
Omg u are so faking goood, thanks for help my friend
just subscribed
yeah, Thank you code online... now i can search easily
Спасибо мужик! Выручил!
Thank you, nice tutorial
Thank you for the video. Do you offer a paid course on How to Create a Simple Rental System? The Transactions form must have an Input Search Box for Customers, and another input Search Box for Items, Due Borrowed, Date Due.
hye! how to search with different table database?
I need help
Hello, thank you for your video, i am making the same as you but in search users in a database, i did exactly the same as you but when i look for a user in the search field using submit button i get the "Not Found page 404", instead of products i am using users database, above in the Not Found page i get /search?query=ramon, but wit Not found page
run
php artisan route:cache
404
NOT FOUND
i watched this full course man keep it up! but I'm having a problem with search function. Does it work on Laravel v5.4?
yeah try it and let me know what is the problem...
@@codeonline2683 i solved my problem. added argument to the function and made some changes
public function search(Request $req)
{
$search_text = $req->input('query');
$posts = Post::where('ner', 'LIKE', '%'.$search_text.'%')->get();
// dd($posts);
return view('posts/search')->with('posts', $posts);
}
@@Shogunez thank you that was helpful
thanks man keep it up
thanks bro
Any time
Thank Youu
I need search.blade.php code....
hello i want your help pls. guide me in my simple system projects
I hope that I can communicate with you sirr plss. help
Thanks you your code online
public function search()
{
$search_text = $_GET ('query');
$products = Product::where('title','LIKE','%'.$search_text, '%')->get();
return view('products.search',compact('products'));
}
"404" x_x
Thanks bro
Welcome