Support the ongoing development of Laravel.io →

4,597 Threads

Pivot not updating

$student = Student::find(20); foreach($student->classes as $student_class) { if($student_c...

0 Likes
3 Replies
Solved

laravel 4 and mongodb

Hi to all. New forum is great.! I am about to begin a large scale application built on laravel 4 and...

0 Likes
5 Replies

Could not save in DB

Hi, I am having trouble to insert record in DB, here is my code $member = new User; $member->user...

0 Likes
2 Replies
posted 10 years ago

Blank page

Hey, i ran this script: $names = DB::table('Accounts')->get(); foreach($names as $name) { $name-&...

0 Likes
1 Replies

Postgres with Laravel produces weird results with nulls. And strings. Maybe.

I reckon that using Postgres with Laravel produces weird results with nulls. Check out the error mes...

0 Likes
0 Replies

Laravel 4 + Excel

I have a view that show the registered users data from database. I need to have a button that create...

0 Likes
4 Replies
Solved
posted 10 years ago

Display all data from table

Hey, i need to know how to make a query to display all the data from a table. For example i have <...

0 Likes
1 Replies
Solved
posted 10 years ago

Creating schemas in Postgress

I'm currently using the schema builder to create a database. The only thing I'm missing is a method...

0 Likes
1 Replies

A four digit year could not be found Data missing

Hello! I am having some trouble to dynamically update records on my database. I need to synchronize...

0 Likes
1 Replies

DB Seeding Already Populated Table

I have a database table for "roles" and for "permissions", and I need to seed th...

0 Likes
3 Replies

UNION TABLES

I would like to know how to make a query MySql to laravel controller: My MySql query like: (SELECT c...

0 Likes
1 Replies
Solved

Model query

Hey, i have a question: how can i make a query, and use results like this: Query::user()->Name

0 Likes
2 Replies
Solved

How to store data in different tables in db?

Hi..Recently I installed DOPTOR CMS.Really it is working good.I have one doubt,while creating the mo...

0 Likes
0 Replies
posted 10 years ago

Would firstOrDefault(...) be useful to others?

I'm building my first real application with Laravel and I am often finding myself doing something li...

0 Likes
2 Replies
posted 10 years ago

Seeders no longer migrating

Hi, I am following this tutorial: http://www.codeheaps.com/php-programming/creating-blog-using-larav...

0 Likes
1 Replies
posted 10 years ago

PHP Parse error in model

I'm just starting Laravel, following tutorials. The base install and simple views work( ie returning...

0 Likes
1 Replies
Solved

Eloquent One to Many With Condition

Hi i have a hard time making successful query, basically i have products table and product_specials...

0 Likes
2 Replies

Can connect to local sever with artisan but not hostgator

I can easily do a php artisan migrate on MAMP on my local server using localhost. However, when I ch...

0 Likes
3 Replies

storing/reading dateTime

I am using Laravel 4.1 and MySQL and using DateTime fields in MySQL in UTC timezone. How can I read...

0 Likes
1 Replies

Eloquent update not updating a field

I'm having trouble getting a record from the database, updating it and saving it again. Here is the...

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.