Support the ongoing development of Laravel.io →

4,606 Threads

how to stop multiple store of data.

I have a car table then if I submit informations it will save into the database. Now if user press b...

0 Likes
3 Replies

User and foreign key doubt

Hi, I have 1 little doubt, I am making a little blog, where i want all blog to get auto-update whene...

0 Likes
4 Replies

New Translatable Models Package

Hello community, I would like to share with you my first package laravel-translatable This is a Lara...

0 Likes
12 Replies

Does eloquent support this kind of pivot tables?

Look at the answer: http://stackoverflow.com/questions/27397336/can-a-pivot-table-have-a-nn-relation...

0 Likes
1 Replies

Categories and sub-categories and how to display the products in each category

Hi Friends "Sorry, my English is poor translation." About the categories and sub-categorie...

0 Likes
4 Replies
posted 10 years ago

How to get all rows if field is empty?

I got a form that let you fill in a city name, a province and a category. Obviously when the form fi...

0 Likes
2 Replies
Solved

Eloquent relations problem

Hi everybody! I have following query in my controller $start = '2014-12-12'; $end = '2014-12-12'; $p...

0 Likes
2 Replies

Connection Database

Hi, I have problem with connection database in Ubuntu Gnome 14.10 SQLSTATE[HY000] [1045] Access deni...

0 Likes
1 Replies

How to create a relationship that joins on two (multiple) non-standard columns.

I've seen this question asked slightly differently several times in other threads. But the problem I...

0 Likes
0 Replies

Laravel equivalent .try() method in Ruby

Earlier today I asked on the chat room about php/laravel's equivalent of .try() in ruby - http://api...

0 Likes
2 Replies

Before find hook

Hi! I am creating a second project for a company. The first one was written by me in Yii framework....

0 Likes
5 Replies

Query builder vs Eloquent builder relations and `load(relation)` issues

My question is summed up nicely in this bin- This is my first attempt at a 'search builder' function...

0 Likes
1 Replies
posted 10 years ago

Laravel 4.2 MSSQL intermittent connection problem

Hi I have a connection to our MSSQL database using the sqlsrv driver which works fine 99% of the tim...

0 Likes
0 Replies

Multiple page templates

The scenario: User creates a new page. Once he writes the content, he has the option to select the d...

0 Likes
0 Replies

Many-to-Many returns NULL

I have no issues writing to my pivot table, but returning associations returns null Schema: $table-...

0 Likes
0 Replies

XML 2 MySQL Solution

Hi everyone! I have been searching for a solution to import XML to a MySQL database without knowing...

0 Likes
1 Replies

Laravel 4.2 - Load a data array from database in app/config/app.php

have language table in my database that contains list of available languages: id | language 1 | en 2...

0 Likes
0 Replies

Count and Max in a same query

Hi! I'm trying to execute a complex query with Eloquent. So, I have a model "User" which...

0 Likes
7 Replies

Duplicated hasmany relation or not showing at all?!

Alright so I have a ticket with many ticket replies public function show($id){ $ticket = Ticket::fi...

0 Likes
1 Replies
Solved

Parent item in same table join ?

Hello ! I have a table that contains Pages with columns (ID,Title,Parent_id) page can be root(Parent...

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.

© 2025 Laravel.io - All rights reserved.