Support the ongoing development of Laravel.io →

4,597 Threads

posted 6 years ago

Time Format in HH:MI

Hi, As you probably can tell from the title of the thread, the question is about formatting time. Cu...

0 Likes
0 Replies

Auth::login from event handler not persisting

I have a L5.2 app where I'm trying to login a user in an Event Listener. All routes are wrapped in w...

0 Likes
1 Replies

Save query on db listen event

I have a requirement that I need to save each and every query executed by the laravel program. I hav...

0 Likes
1 Replies
Solved
posted 8 years ago

SQLSTATE[42S02]: Base table or view not found: 1146 Table

Laravel 5.3 PHP: 7.0.3 First Error > [Illuminate\Database\QueryException] SQLSTATE[42S02]: Base t...

0 Likes
7 Replies
Solved

Randomize Laravel table rows to be unique

I have an app that has Categories, Boards, and Pins Models. A category has many boards and has many...

0 Likes
2 Replies

How to group relationship and get rank

Basically I have a point log table as follows: user_id | points 1 | 10 2 | 20 1 |...

0 Likes
0 Replies

Unable to access database "unknown host"

Hello, First of all, my website worked very well in local (using WAMP) until I try to add a remote h...

0 Likes
0 Replies

Model access in Laravel > 5

First of all, I'm new to Laravel. I come from Codeigniter where you can have something similar to: c...

0 Likes
0 Replies

One-To-Many Relationship On The Same Model [Laravel 5]

I'm having a bit of trouble making this work properly when querying with Eloquent, here's the model...

0 Likes
5 Replies

switching the --env option for artisan command on fly

Hi Devs, I'm trying to pass --env option to the migrate command with the env file which i'm creating...

0 Likes
0 Replies

Database Strict Mode

Hello, I'm little wonder please help me out. My query is :- Invoice::join('orders', 'orders.invoice_...

0 Likes
0 Replies

How To Solve if - else Statements are not working in Jquery

I am creating a Ticket Reservation System and I want to check data availability from the Database. A...

0 Likes
0 Replies

Unable to use Foreach loop with results of DB::Table

I'm unable to wrap my head around why I'm getting "Cannot use object of type stdClass as array&...

0 Likes
2 Replies
Solved
posted 6 years ago

Factory and seeding of pivot table in Laravel

I have 3 tables Applicant,Skills and Applicant_skill. Here Applicant_skill is the pivot table. One A...

0 Likes
0 Replies

Testing GuzzleHttp requests

I have an artisan command that requests data from an external API and stores that information in my...

0 Likes
0 Replies

How To Solve This Image Insert

I'm creating a web site. And I have created a registration page. When I insert data, all the data su...

0 Likes
1 Replies
Solved

Form - problem with ID in tables after submit form

Hi, I have problem with my Laravel project.. I have three tables: Users, _Tasks _and Samples. I want...

0 Likes
0 Replies

How use eager loads for pivot table?

Hellow all! Is the table structure: doctors id - integer title - string clinics id - in...

0 Likes
2 Replies

Allowing users create tables on the fly

I am building an new application using Laravel and i want the user/owner to be able to create regist...

0 Likes
1 Replies
posted 6 years ago

Microsoft SQL and Date Format Nightmares

I have a DB server running some version of MS SQL - not my choice, just a reality. My Laravel 5.5 in...

0 Likes
0 Replies

Thanks to our community

Solutions given in the past year. Excluding solutions from thread authors.

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2024 Laravel.io - All rights reserved.