Support the ongoing development of Laravel.io →
alimccutchion

alimccutchion

Joined 12 Oct 2014

Statistics

Threads 6
Replies 20
Solutions 2
Articles 0

Can you use php code like this inside a blade @extends method?

Can you use php code like this inside a blade @extends method? I don't think this code works please...

Likes Replies

How do I do a conditional check of a value from an array to decide the layout?

How do I do a conditional check of a value from an array to decide the layout? This is the error I g...

Likes Replies

Need to create a override table function?

Illuminate \ Database \ QueryException SQLSTATE[42S22]: Column not found: 1054 Unknown column 'suppl...

Likes Replies

QueryException SQLSTATE[42S22]: Column not found: 1054 Unknown column 'id' in 'where clause'

Illuminate \ Database \ QueryException SQLSTATE[42S22]: Column not found: 1054 Unknown column 'id' i...

Likes Replies
Solved

Eloquent will also assume that each table has a primary key column named id

Eloquent will also assume that each table has a primary key column named id. So I change it like thi...

Likes Replies
Solved
7 years ago

How do I do a conditional check of a value from an array to decide the layout?

@extends('layouts.' .$orderData['order']->source == 'Amazon.co.uk' or $orderData['order']->sou...

0 Likes
7 years ago

How do I do a conditional check of a value from an array to decide the layout?

What method can I uses to check the result of an expression is set to a certain value? Do i need to...

0 Likes
7 years ago

Eloquent model events not firing when using relations?

A little confusing what does the model1() method do? model1()->delete() $model1->delete()

0 Likes
7 years ago
0 Likes
7 years ago

Nested relationships when parent is a many-to-many relationship

There is an error in you sql statement. I think you are referencing the pivot table incorrectly. htt...

0 Likes

We'd like to thank these amazing companies for supporting us

Your logo here?

The Laravel portal for problem solving, knowledge sharing and community building.

© 2022 Laravel.io - All rights reserved.