Support the ongoing development of Laravel.io →

4,603 Threads

Add input text and number a new business

Hi, Laravel is very interesting, i'm new developer of this framework. I have some problems. I'd like...

0 Likes
2 Replies

Complex Relationship Query [Team->county and Team->users->roles]

Hello guys, I am having some trouble filtering data through a relationship that i created... CLASS T...

0 Likes
1 Replies
Solved
posted 10 years ago

Array to String conversion error

Hello, I keep getting this error "Array to string conversion" in this view {{ $data = DB:...

0 Likes
4 Replies
Solved

PDO Exception(could not find driver)

Hello, I face a problem when I try to migrate my database. My app/config/local/database.php configur...

0 Likes
1 Replies

Most efficient way to get count of related tables

I'm looking for the most efficient way to get the count of related records from related tables. The...

0 Likes
2 Replies
Solved

Eloquent Join Table.

I have 2 Tables User id full_name Post id user_id title content How to find out User.full_name f...

0 Likes
2 Replies
Solved

Search function in API

I'm willing to implement a search function with a Integration of a school API. in other words. I'm w...

0 Likes
6 Replies
Solved

Laravel not validate that the database is up?

When doing the login with the method Auth::attempt() I get this error: ErrorException htmlspecialcha...

0 Likes
0 Replies

How to store ip address at Laravel?

So I want to store users ip in my database, but I coulnd create VARBINARY(16) in my schema builder....

0 Likes
2 Replies

Relation with extra condition

TL;DR how to address the same table's field in the additional condition like this: $this->hasMany...

0 Likes
3 Replies

How to initialize my Model to save data coming from Ajax request

I am a bit confused on initializing my Model when the data is coming from Ajax request. For general...

0 Likes
1 Replies

Many to many relationship with Eloquent

Good morning to all guys! I have two table. "user" and "user_user". In the table...

0 Likes
2 Replies
Solved

Update two or more table with relations

Hello, I have 2 tables (or more) with relations, user_details and addresses. class UserDetail extend...

0 Likes
4 Replies

convert many to many (but only one related item) mysql query to a laravel query object

Hi I'm having trouble converting a mysql query that I've been working on into a laravel eloquent que...

0 Likes
0 Replies

understanding laravel dropdown

hi, i'm a newbie to laravel framework and i just find it's so hard to understanding laravel form usa...

0 Likes
2 Replies

compare table column with sum of hasMany

Hello, I am unable to figure out how to perform one query, where I get objects from model, based on...

0 Likes
6 Replies
Solved
posted 10 years ago

Select category with number of products

Hi, i need select the categories with number of products in each category. With this query i do what...

0 Likes
1 Replies

Fatal error: Class 'DB' not found

hi guys, i have spend more than 2 day for install this framework, feel suck... And i though i did it...

0 Likes
5 Replies
Solved

migrate:rollback command Problem

See url http://laravel.io/bin/JXkw

0 Likes
4 Replies

Self query using Eloqent? Advice needed

Hello, I have my user model referencing a table with a UserID as the PK. The same table has another...

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