Support the ongoing development of Laravel.io →

4,311 Threads

Multiple image upload in laravel using function.

here is the scenario, I need a table called product and another table called product_image and they...

jessicaervin liked this thread

1 Likes
1 Replies

DB Migration for Reference Tables

I have some tables for enums that I want to store in the database. Is there a good way to handle thi...

0 Likes
1 Replies

[ISSUE] Eloquent ORM - Insert Wrong Value in Database

Hi, I'm a new developer in Laravel. I made a Portfolio Management system in Personal Banking for our...

0 Likes
0 Replies

Get latest row s of table in model.

let's say the first record for adm_no: 1 , subject_id :1 and had a score of 35 and a second score fo...

0 Likes
0 Replies

Use Model + Authenticatable in one class Laravel 5.4?

I have use Laravel\Cashier\Billable; use Prettus\Repository\Contracts\Transformable; use Prettus\Rep...

0 Likes
0 Replies

Getting pivot id after attach()?

I am fairly new to laravel and I'm trying to build an 'add to basket' script. It consists of 3 table...

0 Likes
0 Replies

where() on with() relation

Hello guys, I'm using Laravel for a while and I love it :) It's my first post here, so I'd like to s...

0 Likes
15 Replies

"Base table not found" error when extending Model

Hello guys! I got a problem that I'm not managing to solve. I have a model called "Jogo" t...

0 Likes
11 Replies
Solved

How to join Triple Pivot table with another table

I have these tables categories id name sectors id name applications id category_id sector_id name...

0 Likes
1 Replies

FindMany function skips duplicates

Hi guys, I'm using FindMany to retrieve a bunch of records from my database that matches an array of...

0 Likes
1 Replies

Pictures linked to posts

Hello, I'm trying to create a system that will link multiple images with posts, for example, I want...

0 Likes
6 Replies
Solved

Extending a vendor model

Hello, This is my first attempt at writing a server provider. Any help would be deeply appreciated....

0 Likes
2 Replies

How to define polymorphic many-to-many-to-many?

I have a polymorphic relationship issue that i'm trying to solve. But i dont know how to go about it...

0 Likes
0 Replies

JWTAuth - query error!

Hi! Im using jwt.auth middleware in my routes like this: Route::post('/login','AuthController@Login'...

0 Likes
0 Replies

chunkById - Method chunkById does not exist.

I am taking data from a junction table and want to chunk by id but the method is not recognized. Her...

0 Likes
1 Replies
Solved
posted 7 years ago

Get deep linked values for a page in database models

A page has multiple elements and they are linked using the page_to_elements table. Each element has...

0 Likes
0 Replies

how to save multiple field?

I have tables (marks,students,subjects,courses) marks belongs to (students,subjects,courses) and i i...

0 Likes
0 Replies
posted 7 years ago

Table Aliasing in Eloquent when using foreignKeys to self.

I'm pretty new to Laravel and Eloquent. However, I'm not new to SQL. I want to use Eloquent to cons...

0 Likes
0 Replies

I can not post the field with quotation marks inside textarea?

forexample; <textarea name="test"> ''''''''''''''''............'''''''''''''''' </textarea&...

0 Likes
2 Replies

creating word file using database result for download

I want to create a word file for download after fetching all records from table. can anyone suggest...

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