Support the ongoing development of Laravel.io →

4,599 Threads

problem with Eloquent's hasManyThrough's query.

I have this structure in my application. table users: id, username table projects: id, name...

0 Likes
3 Replies
Solved

Laravel 4 Pagination on scroll

I am searching for pagination example using scroll. i am currently using la-ravel 4 without blade. P...

0 Likes
0 Replies

firstOrCreate and join

Hello, how can I join two tables with firstOrCreate method? for example I wanna get a row of a table...

0 Likes
0 Replies

Trouble using Eloquent with multiple pivot

Hello Guys, Here is my design database: Booking: id, status, transaction BookingItemOfferPair: i...

0 Likes
0 Replies

Eloquent 5 in Lumen giving unwanted response.

I've recently started using Laravel 5 and the new Eloquent 5.* and I'm experiencing some unwanted re...

0 Likes
0 Replies

dealing with precision numbers / money and storing it using eloquent

Ive been doing some calculations in code converting strings to float because thats the only way I co...

0 Likes
2 Replies

Trying to mass assign Checkbox Input values to database

Hi, Laravel 5.2 here. I can't save my checkbox values to db $data = $request->all(); $data["...

0 Likes
0 Replies

Create own login validation without database

Hi All, I have a project with Laravel 5.2 and besides that I have an other program that has the poss...

0 Likes
1 Replies

Convert this GeoLocation Query to Query Builder for $$$

If someone can help me get this query working properly in Query Builder I would be willing to pay a...

0 Likes
9 Replies

Get sum's of a related table field?

Hey Guys, i want to create a small invoicing software for my company using laravel and, of course, e...

0 Likes
2 Replies

how to ensure sequence of integers

I have a table with categories: string: label integer: order I wish for order to be a continuous lis...

0 Likes
0 Replies
posted 8 years ago

Syntax error or access violation: 1064

Hello, I get an issue on my DB::insert query. Can anyone please advise what is wrong. The error here...

0 Likes
0 Replies

Model::create SQL Insert Error

Hi, when i try to create/insert a new Model instance with $maintenance = Maintenance::create(array(...

0 Likes
0 Replies

Laravel and Vue.JS Many-to-Many with multiple arguments?

Hi! I'm with a problem, due to my lack of ideas and experience... And I hope you guys can help me! I...

0 Likes
0 Replies

how to pass data to partial directly?

Hi i am making a menu that get the data from database like this -> Laptop -> Pc -> Smartpho...

0 Likes
0 Replies
posted 8 years ago

Get value of the Second select box Based on First one.

I have a two select box in my project named Department and Concern. When Someone select a value from...

0 Likes
0 Replies

Create a database row

So this is the "example controller", or the controller that ships with Laravel. It creates...

0 Likes
1 Replies
Solved

Custom pivot as a model, how to and best practices?

Hello, I have been searching and trying for a week now without success, so here I post my first ques...

0 Likes
0 Replies

Changing 'strict' mode to true blocks mysqli_connect to fail connecting remote database

Hi. I am using Laravel for a bit of time and at one point in order to solve "created_at column...

0 Likes
0 Replies

Drop down menu based on value of another drop down menu.

In my view i have a form and 2 drop down menus. The first one shows countries and based on the selec...

0 Likes
2 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.