Anyone have an idea?
any good tutorials out there for API versioning in Laravel?
is there anyone here who has a recommendation for making auth laravel using google apis?
xampp alraedy active ?
How to return an view in call ajax laravel?
hello how to build erp project ith laravel?
انا
Read the docs it’s much better
Agree +1
{
//
$number_called = $request->get(‘number_called’);
$region = $request->get(‘region’);
$location = $request->get(‘location’);
$issue = $request->get(‘issue’);
$updated_at = newDateTime;
$posts = DB::update(‘update posts set number_called=? region=? location=? issue=? updated_at=? where id=?’, [$number_called, $region, $location, $issue, $updated_at, $id]);
if ($posts) {
$red = redirect(‘posts’)->with(‘success’, ‘Data has been updated’);
}else {
$red = redirect(‘posts/edit/’ .$id)->with(‘danger’, ‘Error update please try again’);
}
return $red;
}
{
//
$number_called = $request->get(‘number_called’);
$region = $request->get(‘region’);
$location = $request->get(‘location’);
$issue = $request->get(‘issue’);
$updated_at = newDateTime;
$posts = DB::update(‘update posts set number_called=? region=? location=? issue=? updated_at=? where id=?’, [$number_called, $region, $location, $issue, $updated_at, $id]);
if ($posts) {
$red = redirect(‘posts’)->with(‘success’, ‘Data has been updated’);
}else {
$red = redirect(‘posts/edit/’ .$id)->with(‘danger’, ‘Error update please try again’);
}
return $red;
}
i am getting this error but my syntax seems fine i have searched cant see where my error is
insert is working fine.. error happens when i click update error happens—-working with laravel 5.4


so pls give me a little hint on how to go about this
Install node
{
//
$number_called = $request->get(‘number_called’);
$region = $request->get(‘region’);
$location = $request->get(‘location’);
$issue = $request->get(‘issue’);
$updated_at = newDateTime;
$posts = DB::update(‘update posts set number_called=? region=? location=? issue=? updated_at=? where id=?’, [$number_called, $region, $location, $issue, $updated_at, $id]);
if ($posts) {
$red = redirect(‘posts’)->with(‘success’, ‘Data has been updated’);
}else {
$red = redirect(‘posts/edit/’ .$id)->with(‘danger’, ‘Error update please try again’);
}
return $red;
}
Anyone have an idea?
I want to log number and details of query that run in specific view
I found this
Event::listen(‘illuminate.query’, function($query)
{
dump($query);
});
But
Site running now, I want when an admin run the page then log the queries
I have a function name is_admin() but it’s not working when I pasted in route files
Something like that
If(is_admin())
Event::listen(‘illuminate.query’, function($query)
{
dump($query);
});
Thanks it worked 😊
Try before u think ni spams or am violating groups agenda
I know its wrong group but right now 500ksh ni much
Sign up Get Ksh 500 withdrawable mpesa provided by bangcasino. Everyone can get cash!
https://i-share.bangbet.co.ke/share/page/b0aeb30c-aa88-4068-8ae8-19b066608ee4/index
Thanks me later
When the need arises to pivot your collections by a field, the groupBy() method comes to the rescue. For more advanced grouping, check out the callback features.
For the best experience, follow along in our interactive school at https://www.coderstape.com
About This Course
In this series, we take a look at each of the available methods in the Laravel Collection class and dive deep through examples in explaining what it does.


Does anyone know where the problem is؟

Class ‘AppProvidersTelescopeServiceProvider’ not found

Try php artisan migrate:fresh. Which cleans the database and does the migration once again.
i will check — thank u very much
thanks for your helping i have Wampserver64 its active but problem is still
Sometimes restarting all the services running may help. I ever met the problem but I do not clearly remember how I figured it out.
Its simple, define different module of your erp