Support the ongoing development of Laravel.io →

getting id from a join

i have this join statement : Item::join('buttons', 'items.cta_id','=','buttons.id')->where('build...

0 Likes
2 Replies
Solved

Getting Call to undefined method, while pulling records from a model.

I must be missing something obvious here... I have a model called PlanType and another called Pricin...

0 Likes
2 Replies
Solved

Problem with Firewall package

I use firewall package (http://packalyst.com/packages/package/pragmarx/firewall) in my app. This is...

0 Likes
2 Replies
Solved

Error validation : Replace label attribute in error message

Hi, I have this code in my_view.blade.php : <div class="row"> <div cl...

0 Likes
1 Replies
Solved
posted 10 years ago

Getting this kind of chars from database query �� SQL Server

Hello all! I'm getting ���� instead of accented chars like ç, ã, é... from a sqlsrv PDO connection.....

0 Likes
1 Replies
Solved

Baum Nested Set Retrieve all tree with relation

Hi, I have Category model based on Baum Nested Set (https://github.com/etrepat/baum) package and Cat...

0 Likes
2 Replies
Solved

google plus share - curly brackets

I need to render a google plus share link in my project. I have the url data in my database and call...

0 Likes
2 Replies
Solved
posted 10 years ago

Checking for binded data on the IoC

I've bound some data to the app and whereas I can get it out, I have one instance where based on a c...

0 Likes
2 Replies
Solved

Laravel import thousand of records from csv file?

I have a csv file with thousand of records. How can I use Eloquent model to import all data?

0 Likes
2 Replies
Solved

SSH::into cant find the SSH key in Vagrant

I have setup my connection in remote.php: 'production' => array( 'host' => '192.168.x.x...

0 Likes
1 Replies
Solved
posted 10 years ago

HTML-CSS template & Laravel

Hi there, I'm currently working on car dealer website, and I decide to use Laravel and a html-CSS te...

0 Likes
3 Replies
Solved

Eloquent Mutator + DB::raw

This Setter works well... public function setPoligonoAttribute($value) { $this->attributes['polig...

0 Likes
3 Replies
Solved
posted 10 years ago

Get latest row of table in model.

I got the following code and want the latest result. // Model public function getProfilePic() {...

0 Likes
1 Replies
Solved

Laravel suddenly stopped working!

Everything was working fine, suddenly I get the blank page! I havent changed anything! Hoe can I deb...

0 Likes
8 Replies
Solved

artisan route "GET|HEAD"

I'm using Route::resourse(...) and when I run artisan route it shows my routes the GET routes show u...

0 Likes
2 Replies
Solved

Laravel4 & PHPMYADMIN

Hi, does anyone know how to manage mysql database via phpmyadmin with laravel4. Thanks

0 Likes
2 Replies
Solved

Three table relationship problem in view: Product, producimages, imagetypes. How to show images by type in specific section in view. Not all images.

Hello, can anyone help me with my problem. I can't seem to solve it. I want to show in blade view im...

0 Likes
2 Replies
Solved

How do you create a model relationship base on a column value?

Hi guys! I have a comments table and this table has four fields which are : id post_id type_id comm...

0 Likes
1 Replies
Solved

What is the proper way to set up a model to refer to a table in a different database?

Hi guys! I have two databases main and beta. In my database.php file I have setup the connection to...

0 Likes
2 Replies
Solved

Passing POST variables to a view composer - how?

Hi all, I use view composers heavily throughout the app I'm working on. For example, one of my rout...

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