Support the ongoing development of Laravel.io →

4,603 Threads

Change DB on fly when a user logged in

I am making a system where each user has a own db. so when user login then db should be change by ge...

0 Likes
1 Replies

Newbie: Trying to create a search function on laravel 5

I'm trying to make a search function with laravel 5 and it's not passing the results variable to the...

0 Likes
8 Replies
posted 7 years ago

SQLSTATE[42S02]: Base table or view not found: 1146 Table

SQLSTATE[42S02]: Base table or view not found: 1146 Table 'cruds.users' doesn't exist (SQL: select *...

0 Likes
2 Replies

How to develop a completely secure e-commerce website in Laravel?

I am fairly new to laravel. I have developed two small web app which doesn't require that much of at...

0 Likes
12 Replies

Use Eloquent to Query only master table

I use PostgreSQL with partitioning by one table. Here's my quesrtion. Is there any way to query ONLY...

0 Likes
0 Replies

MAX/GROUP BY Query

How would I do the following query using query builder? Preferably without using any raw sql :-) SEL...

janise liked this thread

1 Likes
5 Replies
posted 10 years ago

OrderBy DESC and after OrderBy ASC query

Helo!!, i need, help me please i'm confused with this query, sorry for my english :( I have this qu...

0 Likes
2 Replies

Sorting by related field

How do I orderBy a field that's in a related table as in: DB::with('relatedTable')->orderBy('rela...

0 Likes
2 Replies

Order and paginate a collection by a releted field using Eloquent

I have these models: Post, Category and User. My goal is to show a paginated and sortable table disp...

0 Likes
7 Replies

convert this query to laravel query

i wont to make this query : SELECT w.wilayah, a.penerima FROM ( SELECT DISTINCT w...

0 Likes
0 Replies

Reset password without users email address

Hi there, I want to simplify the password reset process for the user by determining the users email...

0 Likes
0 Replies

Get data of one to many, which is got from many to many

My Category model public function firms() { return $this->belongsToMany('App\Firm'); } My Fi...

0 Likes
0 Replies

Create menu with variables from database

Hello, I would create a simple menu based on categories which are they creating from database. I hav...

0 Likes
1 Replies

Eloquent sync - Which Event is fired?

I am currently building an application and I am using UUIDs instead of auto-incrementing IDs. To sim...

0 Likes
3 Replies

Events on Pivot table

Hi there, I've got two tables linked by a Many-to-Many relationship. users id users_items user_id...

0 Likes
1 Replies

DB Relationships with where condition

I'm making a webapp where need to display all the products with active price list . I’m struggling...

0 Likes
3 Replies
posted 7 years ago

MongoDB Connection

Can anyone suggest me that how can i connect MongoDB in laravel framework

0 Likes
0 Replies

How to Query In three tables?

I have four tables. option_groups options product_options product_images Tables Structure option_g...

0 Likes
1 Replies
posted 10 years ago

Laravel migration not working [solved]

This took me quiet some time to figure out, that's why I am posting my solution here. I didn't find...

0 Likes
1 Replies

Nothing to migrate.

I'm following the quickstart task list tutorial on laravel.com. https://laravel.com/docs/5.2/quickst...

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