Support the ongoing development of Laravel.io →

4,310 Threads

How to track changes in the database and store it in a history log?

how can I track changes in the database and store it in a history log, such as after I insert, updat...

0 Likes
5 Replies
Solved

How to insert multiple rows with one query?

How would I implement this with laravel? INSERT INTO table (a,b) VALUES (1,2), (2,3), (3,4); thanks

0 Likes
1 Replies

How to save Data with same name Fields

Hello Guys, I just Worried for my Codes, And I dont know what to do. Cuz, iam new in Laravel, My Pro...

0 Likes
2 Replies

stupid blade question about parent id

i'm sure this is simple, but need help i have products, with a foreign key of category_id and i have...

0 Likes
2 Replies

timeslot search using carbon

Hello, I am building a scheduler app that find candidates with free timeslots that fits into an empl...

0 Likes
1 Replies
posted 10 years ago

Filter record created_at specific year

I want to filter record which has created_at atribute at year 2011. Currently, I could do it like th...

0 Likes
2 Replies
Solved

grouping of results

Hi, I'm looking for advise on how to group results from a query, the laravel way, I've tried looking...

0 Likes
2 Replies
Solved

Connect to a named pipe SQL Server with Laravel?

Is this even a possibility? Need it for a legacy project to transfer some data daily to my MySQL dat...

0 Likes
0 Replies
posted 10 years ago

please help me

i have used eloquent in this photo, and i want to remove red underline text

0 Likes
2 Replies
posted 10 years ago

Basic one to one relationship

Hi I am trying to use ORM to build a simple query like this Deals::find($id)->city; But I can't!...

0 Likes
1 Replies

Best way to work with mass update, insert and delete

I have form with hours (for every weekdays) and want: insert, update or delete row. Is there a bette...

0 Likes
1 Replies
posted 10 years ago

How optimise Model Qeury with large "where in (?, ?, ? .....)" statement

I have projects that each belongs to a user When using Project::with('user') to get all my projects...

0 Likes
2 Replies

Unable to call MySQL user defined function for laravel package bllim datatables

I have created a Mysql user defined function "calcVAT" to calculate some complex calculati...

0 Likes
0 Replies
posted 10 years ago

Collections: When / Why do you use them ?

Hi - I'm an 'old school' developer having spent al my coding life writing raw sql db queries. I'm n...

0 Likes
3 Replies

Eloquent - Advanced Wheres on Relations

Hey Guys, I'm trying to do grouped wheres ( like on SQL with the paranthesis) on Eloquent eager load...

0 Likes
1 Replies
Solved
posted 10 years ago

I have a problem with Eloquent select join table

I have a problem I want to use Eloquent and paginate, i want SELECT join from 2 table user and role...

0 Likes
1 Replies

run migrate Database using artisan (error)

Hello, I'm newbie in Laravel, when try to migrate Laravel 4 with table 'user' in database using arti...

0 Likes
0 Replies

hasMany relationship not setting parent id and timestamp data when using insert

The author_id keeps coming up empty along with the timestramp data. How can I fix this? mysql posts...

0 Likes
1 Replies
Solved

Register then Redirect to Intended Issue

I am trying to make it so if a user clicks on a protected link, they get forwarded to a login / regi...

0 Likes
2 Replies

Returning checked checkboxes based on pivot

Fairly new to MVC and Laravel. I am building a form that allows users (players) to be assigned to /...

0 Likes
1 Replies
Solved

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.