Support the ongoing development of Laravel.io →

3,597 Threads

Using Ajax to retrieve data with user input

Hi all, I have an issue I can't seem to figure out..... I want to use Ajax/jQuery to get data from a...

0 Likes
8 Replies

Last record in Eloquent model

Laravel has a first method when accessing an Eloquent model, but is there a way to get the last reco...

0 Likes
1 Replies

using alias in a join

i have this join: $mains = Main::join('builds', 'mains.build_id','=','builds.id')->where('builds....

0 Likes
1 Replies

Select DB connections based on condition

Hi Team, I have an application that uses multiple database servers and each db server has two databa...

0 Likes
0 Replies

Dynamic classes from eloquent

Hi everybody, I'm just getting started with Laravel and SOLID development, and I'm having trouble fi...

0 Likes
1 Replies
posted 10 years ago

as I can construct the following sql statement

as I can construct the following sql statement SELECT (first_name || ' ' ||last_name) as name,t1.id...

0 Likes
12 Replies

Where does those calls come from?

Hi, I installed php-debugbar and this is the output I get. select * from `pages`133μs256KB3000000005...

0 Likes
2 Replies
posted 10 years ago

Laravel 4 PDO Connection Failed

Alright so my PDO connection keeps failing for what seems like no reason. I created a separate site...

0 Likes
4 Replies

Intranet help

Hello In my job, we developed 7 years ago an Intranet without a PHP framework. The project has grown...

0 Likes
3 Replies

what time format does "DB::getQueryLog()" return?

I read the "API" and it says pretty much nothing, doesn't give a clue about what DB::getQu...

0 Likes
1 Replies

Handling Unique Short Code Representitives

Lets say I have a list of Status 1 - Pending Submit 2 - Submitted 3 - Extra Images Uploaded 4 - Com...

0 Likes
1 Replies
posted 10 years ago

Why cross-database acces support?

Laraval is awesome in almost every way. The only thing i don't understand. Laravel supports cross-d...

0 Likes
0 Replies

SQL Storing Searchable Meta Data

I am creating a bug tracking tool for mainly personal/in-house usage. BugSnag is kind of the motivat...

0 Likes
6 Replies

Who's online Laravel 4 Session

Hi everyone, i'm trying to implement in my Laravel 4 app, a script that shows me which users are onl...

0 Likes
8 Replies
posted 10 years ago

Paginating an Eager Loaded Relationship

public function getCategory($category_id) { $category = Category::with(['products' => fun...

0 Likes
3 Replies

Call to undefined method Illuminate\Database\Query\Builder::firstOrFail()

I have a server running php 5.3.22. When I make a call to an eloquent model I get an error: $email =...

0 Likes
2 Replies
posted 10 years ago

Image upload to SQLite

Hi. I have looke all over github but i didn't manage to find an app that uses SQLite and image uploa...

0 Likes
0 Replies

pivot table with 3 columns

Hi Models : There is Party (should be renamed 'game') User can register to Party then user has a reg...

0 Likes
1 Replies

Followers posts list

Hi, I want to create a sort of basic twitter clone as a learning project and wondered how you would...

0 Likes
0 Replies

Can I query the results of a query?

This isn't working, and maybe it's not possible, or maybe I'm close? $allcars = $user->cars()...

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