Support the ongoing development of Laravel.io →

4,587 Threads

posted 10 years ago

Trouble Altering a columns Data Type

Hi! I'm trying to run a migration that will alter some of my tables to correct the data type of some...

0 Likes
1 Replies
Solved

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
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
posted 10 years ago

DB Value retrive

Retrieved value from the MySQL database using @foreach($entity as $key => $value) {{ $val...

0 Likes
1 Replies

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

Passing hundreds of variables from controller to view

Here is my controller: public function stats() { $title = "Stats"; $stats = DB...

0 Likes
4 Replies

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

From Model Binding with one to many relation

Hello! I've got a problem with a form which should be populated with values from my database. My dat...

0 Likes
2 Replies

< select name="options" multiple > How to store in a array within the database

How would I store <option > 's in a mulitple select like so <select name="options" multiple...

0 Likes
0 Replies

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

Displaying content with html tags.

Hi , I am using ckeditor for textarea. It is working fine. But when we display description on fronte...

0 Likes
2 Replies

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

Eloquent Mutator + DB::raw

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

0 Likes
3 Replies
Solved

Howto handle exceptions that occur when database is disconnected or unreachable?

I am in the process of writing a SPA application using angularjs for the frontend and laravel as a R...

0 Likes
0 Replies

Laravel4 & PHPMYADMIN

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

0 Likes
2 Replies
Solved

Permissions - only show deep nested content in users group?

Once again I'm pretty lost, the same place as other projects I've started xD A "closed" ap...

0 Likes
3 Replies

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

Possible to use PHP functions in-line with Eloquent ->where clause?

Hi, I've got this in my code. $list = $the_things->where( 'date_field', '>', time() ); That d...

0 Likes
1 Replies

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

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.