Support the ongoing development of Laravel.io →

4,603 Threads

Help with ordering related models

I'm trying to order my data, by the "belongsTo" association. Model: Contact BelongsTo: Age...

0 Likes
0 Replies

Relationships issue (maybe me doing something wrong HELP!)

I have the following controller and models. Controller public function index($slug) { $d...

0 Likes
6 Replies
Solved

Build query with ckeckboxes values.

Is there a way to build a query on checkboxes values? I have 7 checkboxes, then only if a single che...

0 Likes
0 Replies
posted 10 years ago

Newbie to Laravel

I would like to simple database application with add delete modify and view functionality. Kindly su...

0 Likes
0 Replies

Retrieve data from lookup table

Hi there, I'm very new to Laravel and I'm creating a dummy blog application to help me understand th...

0 Likes
1 Replies

call to undefined method where()

Hi ! I've a problem with a fresh install of laravel 4 I make a migration files with some columns and...

0 Likes
1 Replies

How can I debug an eloquent result ?

Hi, How can I debug the result of this please ? $result = $this->hasMany('UserGrade'); count($res...

0 Likes
2 Replies
posted 10 years ago

Does anyone know how to connect to SQL Server using integrated authentication?

Hi, For context, the web server I'm using is IIS. I need to connect to SQL Server using Windows doma...

0 Likes
2 Replies

I can't connect to SQL Server 2008 R2

I just installed Laravel 4.0 and I'm trying to get it connected to my database. i've gone into my d...

0 Likes
4 Replies
posted 10 years ago

Migrate database without using the console

Hi all, I've now been using Laravel for a month so I'm actually quite new to everything. I like the...

0 Likes
3 Replies
Solved

Tracking Balances

Hello, Just looking for an opinion here, as I can't get my head round what seems to be a trivial pro...

0 Likes
1 Replies

in Laravel 4, i can't create data in another connection

the code can't create data UserToken::on('user')->create($token_data); result: {"error"...

0 Likes
0 Replies

use $query var as limit

select * from `prices` where `prices`.`item_id` in ('1', '2', '3') and `created_at` <= '2014-06-2...

0 Likes
0 Replies

Parameters in relationships referencing other relationships

I'm trying to limit the results from a relationship based on results in another relationship. Here's...

0 Likes
1 Replies

Printing out all tags (manytomany)

Hey guys. Still having a bit of a hard time learning the relationships ^^ So i wanna print out all t...

0 Likes
3 Replies

Auth::attempt fails. Hash is differs each time.

Hello! I've looked through all the other threads regarding hashes and Auth:: and not one has been ab...

0 Likes
6 Replies
Solved

foreign key not set up properly?

First, let me describe the conceptual behavior. I have two tables - a promotions table, containing t...

0 Likes
0 Replies

Filter not exist columns in Eloquent model

How can I modify the ~~~static::creating~~~ function to avoid "Column not found: 1054 Unknown c...

0 Likes
0 Replies

Eloquent set random not duplicate id when creating records

This is the code of my Eloquent model: protected static function boot() { parent::boot(); s...

0 Likes
2 Replies

Group result/collection by field

I'm pulling an actor from the database. In the actor's view I want to see a list of all movies my ac...

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.

© 2024 Laravel.io - All rights reserved.