Support the ongoing development of Laravel.io →

4,599 Threads

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
posted 10 years ago

Connecting MySQL over SSL

How i connect MySQL using SSL. How I can configure it in databse.php ? I added all my .pem files alo...

0 Likes
1 Replies
Solved
posted 10 years ago

What is the MySQL datatype SET equivalent in Laravel Schema?

Laravel Schema has a command for ENUM equivalent to the table. What is the SET equivalent to the tab...

0 Likes
1 Replies

eloquent relationship validation

I have a Model "Houses" that has a location_id field so every record has a relationship wi...

0 Likes
1 Replies

What's the best / correct way to extend a model and structure the DB tables

Model Woman extends Homospaien Model Man extends Homosapien Table "homosapien" contains al...

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.