Support the ongoing development of Laravel.io →

4,608 Threads

Override table prefix for one model

I have prefixes setup for my database: "pmt_" for a couple of tables, i want to override t...

0 Likes
7 Replies

PHP code from a table

Hi, Is there any way to get php code from a mysql table, and run it in a blade template?

0 Likes
7 Replies

many-to-many from the same table

Hello everyone. I need to create a feature of user following. So I could let users follow each other...

0 Likes
2 Replies
posted 9 years ago

Laravel complex join

Hello Please can somebody help me with an ideea how can I make in laravel complex join with join i...

0 Likes
2 Replies

Consolidate the search block

Hi All, I have two blocks used for searching for active users and all users. Is there a way I can co...

0 Likes
1 Replies

Any Github projects need Contributors?

Hey there, I am new on laravel.io, but known over on Laracasts. Just looking for some github project...

0 Likes
0 Replies

country, State Corresponding Dropdown Insertion

I have form in that a dropdown is containing country and state and on the basis of country id i'm fi...

0 Likes
0 Replies

how to write this query

how to make this query in eloquent : SELECT employees.*, groups.name FROM employees JOIN groups ON g...

0 Likes
4 Replies
Solved

Upload image on edit profile information.

I have existing image on profile information then i don't want to change it. If i update my profile...

0 Likes
0 Replies

fetch multiple images from Database

Hi I have stored my images in database using implode function images are in database like array ima...

0 Likes
4 Replies

Upload image Resize on Controller.

Where can i put the resize in this code thanks. $this->validate($request, [ 'email' =...

0 Likes
6 Replies
Solved
posted 11 years ago

Fluent Query Union Order by issue

I am using Fluent Query builder. I am having two issues: I want to do union of two statements and af...

0 Likes
1 Replies

Distinguishing Row Tables During Union Queries

Hi, I'm currently using a union to jointly select search results from two tables. However, I'm strug...

0 Likes
4 Replies
Solved

Getting information from one table and saving the returned information in new table

Hello guys, I'm making a school system for my school and I have this problem in which I'm stuck for...

0 Likes
1 Replies

i'm gatting .Trying to get property of non-object

this code controller public function cart() { if (Request::isMethod('post')) { $id_product = Request...

0 Likes
1 Replies

(Upload image or not)

Hey what can i code if i don't want to have a image. i get error: Call to a member function getClien...

0 Likes
2 Replies
Solved

Mulyiple Image Upload is not going in correct into Database

####Like this image is going in DB ["image1","image2","image3"] but I...

0 Likes
2 Replies
Solved

Laravel-Doctrine + Pingpong Labs Modules

I'm building a laravel application which I would like to modularize and use doctrine instead of Eloq...

0 Likes
0 Replies

how to change default database connection in controller

Hello all , i want to ask some question . i want to use database connection depending on each user l...

0 Likes
5 Replies
Solved

Cannot delete pivot records in a morph relationship

Hi, I have an entity called genre and an entity called project, I have morphed a relationship from p...

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.