Support the ongoing development of Laravel.io →

4,603 Threads

Query On Blade View

Hello; I want to run a count() query on a blade view. Can someone help me? Thank You

0 Likes
1 Replies

Functional test artisan comand, that migrates multiple dynamic tenant database

So here is the picture: I have an app that creates tenant_db for each user registered. For doing tha...

0 Likes
0 Replies

Default Value On Migrate

Hello How can I define a default value on table schema(migrate)? Thank You

0 Likes
1 Replies
Solved

Get DB field from whereHas Table

Hi there, I have the folloing Tables: Partner id int name varchar booking id int id_partner int bo...

0 Likes
1 Replies
Solved

Table Not Found

i got some error like this : SQLSTATE[42S22]: Column not found: 1054 Unknown column 'tbl_user.id' in...

0 Likes
1 Replies
posted 8 years ago

BadMethodCallException in Builder.php line 2440: Call to undefined method Illuminate\Database\Query\Builder::getIdArray()

I'm creating role method in laravel, but when i start the page I have this error. If anyone has any...

0 Likes
1 Replies

Users and Roles

Hi! I'm new in Laravel and I have a little problem with User and Roles. In a database I have users a...

0 Likes
11 Replies
Solved

Get user by name

Hello, im trying to get an user by its name. So far i can get one like that $users = User::where('na...

0 Likes
1 Replies

Order by pivot table attribute in Eloquent

Hi Guys I have this query: $user = Auth::user(); $user->jobs()->get(); where jobs is a bel...

0 Likes
6 Replies
Solved

Trouble when want show user detail on Laravel 5.2.3x

i want to show detail from database from 'Detail Button' like this but laravel show me error like o...

0 Likes
0 Replies

Overriding find on amodel causes apache child to do segmentation violation

Hey folks. I tried to override find on a model like this namespace App; use Illuminate\Database\Eloq...

0 Likes
0 Replies
posted 8 years ago

Laraval umlauts not working with MySQL Database

Hello, I've a problem with german umlauts like äöü and so on in Laravel 5.2. I'm saving some script...

0 Likes
2 Replies
posted 8 years ago

How to display values of returned Collection?

Hello. I am trying to use the query builder as told in Laravel docs. when I pass the data to the vie...

0 Likes
11 Replies

How to pass variable from one controller to another controller in laravel

I have one Controller eg. VendorContoller in index.blade.php i have display all details in table wit...

0 Likes
1 Replies

How to automaticaly create a slug when saving a user?

I want to set a slug for a user that I am saving. Should I use events? I tried this way whitout succ...

0 Likes
2 Replies

group by created_at

Hi, how to select all records from table group by created_at? When I get all rows from table it retu...

0 Likes
0 Replies

multiple persons for one user / email address

hi, i've developed an android app with laravel api backend. currently i use default api guard and Au...

0 Likes
0 Replies
posted 8 years ago

Error Connecting to 3.22, 3.23 & 4.0 servers is not supported

Hi guys, i'm strugling with this error "SQLSTATE[HY000] [2054] Connecting to 3.22, 3.23 & 4...

0 Likes
0 Replies

Wanna Add some text before text insert to database

<div class="form-group"> {!! Form::label('eMail', 'e-Mail', ['class'=>'co...

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