Support the ongoing development of Laravel.io →

4,597 Threads

Determine nested query in Query\Builder's function newQuery()

I have an application where multiple accounts use the same database. To specify what row belongs to...

0 Likes
0 Replies

Scheme Builder - tinytext is an undefined function? Laravel 4.2

Hi, I am trying to set up the migrations for my table and I can't seem to use $table->tinytext('c...

0 Likes
1 Replies

Many child models using one table, filter results based on column value

I want to use multiple models for the same table but each model should return only rows where "...

0 Likes
2 Replies
Solved

Regular PHP functions

Hi, I'm trying to transition over to laravel and i have included in the start/global.php file a link...

0 Likes
1 Replies

How to pass data in an Ajax call with routing through a controller

Hi guys, Let me begin by explaining what I'm trying to do, so that you can get a better understandin...

0 Likes
1 Replies

How do I sort a result of a query

Hello, Not sure how to phrase this question... hopefully it makes sense. I have a class called "...

0 Likes
0 Replies

Merge 2 Different Collection structure.

I have a news feed that currently is displaying with a structure of what seems to be similar to face...

0 Likes
1 Replies

Eager loading not returning all of the results

I'm trying to eager load a list of credits for a recording. The query I want to run is this: SELECT...

0 Likes
1 Replies

School Schedule - Eloquent & Form

Hi everyone, I am currently building a small app that manages school related stuff. I have to build...

0 Likes
3 Replies

eloquent relations picking elements that are not related

I have 2 tables which are related with a Many to Many relation and the relation table. (users, items...

0 Likes
0 Replies

Eloquent not inserting null values on pivot table

I'm having problems where I want empty strings or a zero to be stored as a NULL in the database. Her...

0 Likes
3 Replies
Solved

Saving image path to a database

$image = $input['image']; $filename = $image->getClientOriginalName(); $destination = 'upload...

0 Likes
7 Replies
Solved

Count authenticated sessions

Hi, Is there an elegant method for counting sessions that are for successfully authenticated users?...

0 Likes
0 Replies

Eloquent eager loading, cannot access relation data

Hello, I have 2 models. One is "developer" and the second is "program". One deve...

0 Likes
12 Replies

Many To Many Polymorphic result.

Hi, while working with Many To Many Polymorphic relationships, I notice that if we retrieve nested r...

0 Likes
0 Replies

Add data to database with timer

Hello I want to put some sort of timer so the user can only add data to the database let's say ever...

0 Likes
3 Replies

Pagination with appends() Error

Hi everyone, I am new to Laravel and am using version 4.1. I am attempting to query database using p...

0 Likes
1 Replies
Solved
posted 10 years ago

Laravel ODBC problem

I appreciate reading this mail theme is that I started (well newbie) using Laravel and my job gave m...

0 Likes
3 Replies
posted 10 years ago

MySQL BIT data type

i have mysql db with bit(1) data types, when using laravel db query classes the return values are em...

0 Likes
3 Replies

hasMany with multiple local keys

I have an existing database (can't change the structure) for which I need to make a web front end. T...

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.