Support the ongoing development of Laravel.io →

davidlanier

Joined 11 Apr 2014

Statistics

Threads 7
Replies 9
Solutions 0
Articles 0

Dynamically set timezone at runtime.

I am using the same codebase to spin up different sites which may exist in different timezones. The...

0 Likes
1 Replies

orWhere('column', 'operator', 'value') does not handle NULL

I am using several scope functions in an eloquent model to retrieve data, and in one of the function...

0 Likes
1 Replies
posted 10 years ago

Selects with joins and wheres

I'm trying to select specific columns from two tables however when I add the ->select() method in...

0 Likes
3 Replies

How to combine a join with a where clause?

So I'm doing something like this: $ImageCategory = ImageCategory::where('styles.id', '=', $categ...

0 Likes
1 Replies

Symfony \ Component \ Debug \ Exception \ FatalErrorException Call to undefined method Illuminate\Database\Eloquent\Collection::save()

I am trying to call Eloquent's save() method on an existing record but getting an error from Illumin...

0 Likes
2 Replies
Solved
replied 9 years ago

Edit without form model binding

Call your controller from your route like this: Route::post('credit/update/{id}', 'CreditAppControll...

0 Likes
replied 9 years ago

Route doesn't work for POST method

As a control test, I copied my html form and setup a straight html and php (not using Laravel or any...

0 Likes
replied 9 years ago

Dear God, I think Laravel 5 was a mistake.

Glad I haven't tried 5 yet! If it ain't broke, don't fix it y'all!

0 Likes
replied 9 years ago

Route doesn't work for POST method

I am having the same problem all of a sudden, but only with one form on a site where there are many...

0 Likes
replied 10 years ago

possible to create dinamic sql query

Yes. if (Input::has('columnName')) { ->where('columnName', '=', Input::get('columnName'); }

0 Likes

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.