Support the ongoing development of Laravel.io →

4,606 Threads

posted 9 years ago

issue with temporary tables and pdo read/write connection

I'm creating a temporary table, but it only exists on the PDO connection it was created on. It seem...

0 Likes
2 Replies

Auto join on model call

I have two models Item [table: id,title,param_id] and ItemParam [table: id,param_name]. Is it possib...

0 Likes
0 Replies

Custom validators on empty string

How can I call custom validators on empty string from eloquent model's $rule array? I am trying to m...

0 Likes
3 Replies

Laravel 5 eloquent relationship between 4 tables

I have four tables, i used Laravel 5.2 eloquent method Municipalities id name --------------- Barang...

0 Likes
0 Replies

Parsing data, helpers, to view

This might be a nube question. Here is my scenario. Trust me i have spend hour on this with no good...

0 Likes
0 Replies

Retrieve Data From Pivot Table

I have this pivot table: http://3.1m.yt/0_7a5sa.png I need to return multiple names of users (from u...

0 Likes
0 Replies
posted 9 years ago

Auto decrement column in the database daily

I have a column in my database remainingDays which stores a value of 90..how can i auto decrement th...

0 Likes
1 Replies

Configure laravel with MariaDB

Hello everyone, I have a question does Laravel supports MariaDB? Thank you.

0 Likes
1 Replies

NotFoundHttpException edit route

Hi there, I will make this short, not like last time. I have an edit route so I can edit my data fr...

0 Likes
1 Replies

Delete value from database results

hello laravelers , i want to delete somme results from my query where some condition are satisfied a...

0 Likes
3 Replies
posted 9 years ago

How would you do this?

Hi, i am creating eshop and i am thinking about filters for products. There are few kinds of product...

0 Likes
0 Replies

Larval 5.1 App not connecting to MySQL DB

Hi, I've looked pretty much all over the place. The scenario is basic, so I'm sure I'm missing somet...

0 Likes
2 Replies
Solved

How to store file in Mysqldb and display in view ??

This is my store method public function store(Request $request) { $this->validate($re...

0 Likes
4 Replies

Laravel MYSQL Connection with IBM Bluemix

I'm trying to put my app to a production server using IBM Bluemix. Actually I'm on free tier and jus...

0 Likes
0 Replies

Dependent Drop downs

I am trying to get one select box(number) to be depending on another(type). I am close but i keep ge...

0 Likes
4 Replies
Solved
posted 9 years ago

How to Subtract Carbon Dates

How do I subtract carbon dates....this last donation from the database and I want to subtract it to...

0 Likes
0 Replies
posted 9 years ago

Laravel Database Query

How can I query all users whose last donation is more than 90 days. This is my query but when it is...

0 Likes
1 Replies

[Eloquent] Query-based Attributes: Avoiding Duplicate Queries

Hey guys, wondering if anyone has had a problem like this. I have a solution (which I have not post...

0 Likes
3 Replies

Controller response very slow on query that runs fast in phpmyadmin

I have a terrible query from a design that I inherited. Here it is.. SELECT i.id, i.description AS...

0 Likes
0 Replies

Join tables with pivot tables (Eloquent ManyToMany Relationship)

Helllo guys, I need solution I have Model Article with ManyToMany Relationship to Terms and I have M...

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.