I had a problem when I used your code like that ! Error: GET 127.0.0.1:8000/live_search/action?query=1 500 (Internal Server Error) jquery.min.js:4 F12 : Failed to load resource: the server responded with a status of 500 (Internal Server Error) action?query=1:1
Hello sir hope you alright. I need to know we to redirect to another view page with data from ajax success function. And data that we submit through form using ajax insert into database base. Now that that I want to show user in another page in the form of voucher. I want line of code to write in success function so I can redirect with response data. Hope u gotted my point
Hi, nice tutorial. Can a video be uploaded using join query for live search? Few details are in one table and a few in other table. If possible kindly upload a video for join query also.
you must have forgotten to close the line before this 'GET' example: $x = 'test' //no semicolon GET ... //this will return your error $x = 'test' in this case should be $X = 'test'; the same thing happens with these: (){}[] and more, just always close your lines
Thank you for such a nice tutorial, I tried and it is working. How can I add hyperlink to any table column like '.$row->name.' which is coming from livecontroller.
a doubt, in the routes both must be route :: get because I try to do with route :: resourse (example, ExampleController) and route :: get (example / action, Example Controller @ action) -> name ('example.action') captures requests, action? Query = string, but does not appear to enter path example.action. but when i do this operation on a get routes like home and home / action, if it works please help me
nice tutorial sir, but can you also teach us live search with corresponding pagination? and i have a question in your last tutorials. when i run the codes there is ajax error in the dataTables. your reply is very much appreciated
How to Paginate following type of html response return to Ajax from controller in laravel foreach ($products as $key => $product) { $output.=”. ”.$product->id.”. ”.$product->title.”. ”.$product->description.”. ”.$product->price.”. ”; } return Response($output);
hello, I tried it to work thank you very much. but in this tutorial the search is done with a single input .... I would like to use 3 inputs. how to do it .... thank you
I have another table in the same blade and data rows are spreading to another table as well. How to prevent data raw inserting in to rest of the tables? Thank you.
That's because you are just "putting" your laravel project on htdocs or a place like that without configuring it right, that means you have to declare the public folder as the root folder of the project. Another way to avoid this is to run "php artisan serve" and let artisan to do everything for you.
why you use index() i'm working in an Admin.blade.php and the route to there have the get::route so when i try ti post, error says 405 (Method Not Allowed)
was googling for an hour but not found such solution... Ultimate found you very Hearty thanks
Great tutorial, everthing working perfectly, thanks for sharing!!
Just one question; How do you implement the pagination for this case?
HTML in the middle of Controller? So what about MVC?
I had a problem when I used your code like that ! Error: GET 127.0.0.1:8000/live_search/action?query=1 500 (Internal Server Error) jquery.min.js:4
F12 : Failed to load resource: the server responded with a status of 500 (Internal Server Error) action?query=1:1
i have the same error
Its good that you have started tutorials on Laravel. I hope more videos to come on laravel with vue as well
Hello sir hope you alright. I need to know we to redirect to another view page with data from ajax success function.
And data that we submit through form using ajax insert into database base. Now that that I want to show user in another page in the form of voucher.
I want line of code to write in success function so I can redirect with response data. Hope u gotted my point
migrate table but data not show
sir run code but data not show
same here
same situation
@@abdullahkhawaja3799Please have you found the solution
Not working, "message": "json_decode() expects parameter 1 to be string, array given",
he writes "json_encode" not decode ..
Hello sir, I want ask how to return an output text a href with a route inside it?
Hi, nice tutorial. Can a video be uploaded using join query for live search? Few details are in one table and a few in other table. If possible kindly upload a video for join query also.
i can't get data from mysql
how embed route in in html tag in controller??/
Thanks, sir i am in a little bit problem is to , how to write img laravel tag in this line, please help me.
$output .= '
'.$row->id.'
'."".'
'.$row->p_name.')
'.$row->p_type.'
'.$row->p_sub_type.'
I have an error how to fix it "unexpected 'GET' (t_string)
you must have forgotten to close the line before this 'GET'
example:
$x = 'test' //no semicolon
GET ... //this will return your error
$x = 'test' in this case should be $X = 'test';
the same thing happens with these:
(){}[] and more, just always close your lines
Can you please upload a database with the source code, thx
2:17 try 'cls' one time
it clears your screen
Thank u sir very usefull
Thanks
Need need Vue cli concepts. Less hectic code than jQuery
you are awesome
really nice
hi, can i request a video for CRUD search without using ajax . Continue from playlist 11
Thanks a looooooot sir :D ^_^
Thank you for such a nice tutorial, I tried and it is working. How can I add hyperlink to any table column like '.$row->name.' which is coming from livecontroller.
a doubt, in the routes both must be route :: get
because I try to do with route :: resourse (example, ExampleController) and
route :: get (example / action, Example
Controller @ action) -> name ('example.action') captures requests, action? Query = string, but does not appear to enter path example.action.
but when i do this operation on a get routes like home and home / action, if it works please help me
nice tutorial sir, but can you also teach us live search with corresponding pagination? and i have a question in your last tutorials. when i run the codes there is ajax error in the dataTables. your reply is very much appreciated
not working my Friend ( Failed to load resource: the server responded with a status of 500 (Internal Server Error) )
please how did you solve the problem ?
Oh no. Its so dirty code. Why u put html in your php?
Very helpful video.. Thank you
how to do pagination with this ??
Thanku so much
Sir plzz make a one video about charts in laravel!!
How to Paginate following type of html response return to Ajax from controller in laravel
foreach ($products as $key => $product) {
$output.=”.
”.$product->id.”.
”.$product->title.”.
”.$product->description.”.
”.$product->price.”.
”;
}
return Response($output);
hello, I tried it to work thank you very much. but in this tutorial the search is done with a single input .... I would like to use 3 inputs. how to do it .... thank you
showing only one row of data , all data is not showing having error on
'$output .=' in controller there in error in concatenation
I have another table in the same blade and data rows are spreading to another table as well. How to prevent data raw inserting in to rest of the tables? Thank you.
I couldnt solve my issue can someone help?
Devender Gupta what’s your issue?
it is nice but if we want to download that filtered data. how can we implement export feature
i tried your tutorial and recieved this error => "Call to undefined method App\File::ajax()" ..what couldbe the reason
That's because you are just "putting" your laravel project on htdocs or a place like that without configuring it right, that means you have to declare the public folder as the root folder of the project. Another way to avoid this is to run "php artisan serve" and let artisan to do everything for you.
What about multy column live filter? Mysql ajax.
thanks a lot sir you have solved my problem
hmm is good tutorial sir, but it doesn't work to me
nice
not work in IE?
nice sir
and what about pagination please also make an tutorial with pagination ajax..
thanks
Hi there! Here we go! www.webslesson.info/2018/11/laravel-column-sorting-with-pagination-using-ajax.html
simply add ->paginate(5); after de DB, 5 is number of results per page, if you want 15 you do ->paginate(15);
@Othman Boulal then how to show the page number in view ??
friend make a video: "how to use location and save data into table in laravel"
mto bom
Muito bom! Obrigado!!
im getting 500 internal server error...ive used your code as is
press f12 and select network then see whats the error said ...
I have the same problem GET 127.0.0.1:8000/live_search/action?query=1 500 (Internal Server Error) jquery.min.js:4
Failed to load resource: the server responded with a status of 500 (Internal Server Error) action?query=1:1
Dude you need to add csrf token check this out stackoverflow.com/questions/30154489/ajax-post-in-laravel-5-return-error-500-internal-server-error
WOw, I have read your convo, I actually had the same problem and resolved. Thanks man.
good video, how to implement a paggination in the result
simply add ->paginate(5); after de DB, 5 is number of results per page, if you want 15 you do ->paginate(15);
@@othmannl then how to load di pagination select in view ??
sir , would you please help me to connect this search to CRUD project. I tried. I am gettiing error of undefined CustomerName
why you use index() i'm working in an Admin.blade.php and the route to there have the get::route so when i try ti post, error says 405 (Method Not Allowed)
Wonderful explanation sir. Very useful for developers. Sir could you start teaching angular 2
i got this error ..,"syntax error, unexpected 'foreach' (T_FOREACH)"
Hello. This is great, but can we make pagination also? Many thanks
Thansk really helped me out!!!