Support the ongoing development of Laravel.io →

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...

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

0 Likes
4 Replies

Need to create a override table function?

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

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

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

0 Likes
4 Replies
Solved
replied 10 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
replied 10 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
replied 10 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
replied 10 years ago
0 Likes
replied 10 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?

Laravel.io

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

© 2024 Laravel.io - All rights reserved.