Support the ongoing development of Laravel.io →

4,311 Threads

Check image size

Hello I made an app where users can upload images, and I want to restrict image dimensions to less t...

0 Likes
1 Replies

dompdf - Problem in looping the array inside $pdf->loadHTML.

i try to populate the data from database in to PDF file in dompdf i tried something like this. class...

0 Likes
2 Replies
Solved
posted 10 years ago

Problem with Many to many relationtionship

Urgent I have three tables in database. posts, categories and category_post . There fields are #Post...

0 Likes
2 Replies

hasMany relationship problem

Hello everyone, the problem is that im developing an bodybuilding workout app to track my progress,...

0 Likes
0 Replies
posted 10 years ago

Can I return an array as a custom attribute in a model?

The next to last code snippet on this page (http://laravel.com/docs/eloquent) shows how to define cu...

0 Likes
1 Replies

Proper Object Model Iteration with variables

Hi all, Fairly new to Laravel, and OOP in general, but have been using it fine for the past few week...

0 Likes
1 Replies
Solved

Problems with table relationships / retrieving data

I have a bulletin system where posts can be made. What I need right now is a way to pull in the name...

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

Pivot with Parent/Child

Hi, I have a ManyToMany relationship with Listings an Categories class Category extends \Eloquent {...

0 Likes
0 Replies

Return query of join table as extra json.

Hello Community, Here is my model query : return $this->where('mac_address', $id) ->join($thi...

0 Likes
2 Replies

Field name constants

Please forgive any ignorance on my part. Has anyone devised of a more reliable way (in my mind) to...

0 Likes
2 Replies

Get time from created_at column

Hello to every one. I am trying to display the entries which are stored within one hour, How to get...

0 Likes
1 Replies

Frozennode Laravel Administrator show hasMany elements

Im using the frozennode administrator bundle for laravel 4.2 to manage amongst others my blog posts,...

0 Likes
0 Replies

Base table or view not found

I get following error: Illuminate \ Database \ QueryException (42S02) SQLSTATE[42S02]: Base table o...

0 Likes
1 Replies

Incremental save method - looking for feedback

Ok so in many cases you want to update integers in a database incrementally, this helps ensure that...

0 Likes
1 Replies

[EXERCISE] Refactoring Exercise #1 is Complete! Discuss.

After some interest in the Laravel subreddit, I've decided to run a refactoring exercise a few times...

0 Likes
5 Replies

How to paginate Eager Loding in larvel?

I have a serious problem. I have 3 models Role Model: <?php class Role extends Eloquent{ /** *...

0 Likes
0 Replies

is dynamic migrations a good idea?

I started one small project and wanted to have fun, so i created dynamic migration, that gets inform...

0 Likes
0 Replies

Relationship Table

I'm following the docs to create the ORM relationships at http://laravel.com/docs/eloquent#relations...

0 Likes
2 Replies
Solved

Search form validation

Hello, i am facing problems with a validating GET request with a built-in validator class: Controlle...

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