Support the ongoing development of Laravel.io →

4,597 Threads

posted 10 years ago

insert data form to table problem

This file routes.php Route::post('', function() { $newuser=array( 'name'=> Input::get('name'), 'n...

0 Likes
6 Replies
posted 10 years ago

Important problem in ModelNotFoundException

hello dear friends I've a problem in catching ModelNotFoundException , here is my code try {...

0 Likes
5 Replies

Multiple relationships in Eloquent

Hi, i have 3 models User, Blog and Blogcomment. User <?php use Illuminate\Auth\UserInterface; us...

0 Likes
2 Replies

Replace method in Eloquent

Hello, I'm a newbie with the Laravel framework. Before I had build my old website in simply PHP with...

0 Likes
2 Replies
posted 10 years ago

Blank page

Hey, i use this <? $names = DB::table('Accounts')->get(); ?> and the page does not load aft...

0 Likes
5 Replies

General error: 1615 Prepared statement needs to be re-prepared

Hello. I was wondering why I often get the "something went wrong"-message on my website an...

0 Likes
3 Replies

Deleting relations

Hy everyone, I have a small problem and if anyone here would know the answer to it i would very much...

0 Likes
0 Replies
posted 10 years ago

Store graph data in database

Hey, i have a question: i have a game server, and i have an api that retrieves the players online. I...

0 Likes
4 Replies
posted 10 years ago

Add int to timestamp

Hello! I have a controller where I get some data form DB. I retrieve created_at(timestamp) from tabl...

0 Likes
2 Replies
Solved

login with google account

Hello! I am making an app with laravel 4 and I should do login with google account. I have successfu...

0 Likes
3 Replies
Solved
posted 10 years ago

Argument 1 passed to problem

Hello, When i'm trying to run php artisan db:seed i get this error: [ErrorException] Argument 1 pass...

0 Likes
3 Replies
posted 10 years ago

Seed problem

Hello guys, When i run php artisan db:seed i get this error: $ php artisan db:seed {"error"...

0 Likes
1 Replies
posted 10 years ago

Can not add constraint foreign key

I am posting this question because I have researched Laravel docs, MySql,and the tutorial I am worki...

0 Likes
5 Replies

query on array for laravel (like phplinq)?

I want to query on array like sql on db. Have any package to do this?

0 Likes
0 Replies

Cannot add foreign key constraint

Hi ! I'm trying to add some foreign keys to my tables but unfortunately I get an error while inserti...

0 Likes
7 Replies

Mutual Relationship?

How could I go about this? I have a users table and a user_follows table. In the users model I have...

0 Likes
0 Replies

dropdown2 gets populated based on dropdown1

i have 2 tables, categories and subcategories categories is made up of id, and name subcategories is...

0 Likes
10 Replies
Solved

Data Access Layer Design Question

Hello. I am a Laravel newbie and I am trying to create a structure for my application. In the past...

0 Likes
0 Replies

hasManyThrough is really slow

I have Categories that have many Product Groups and those Product Groups have many Products. I'm usi...

0 Likes
7 Replies
Solved

Eloqent query if input is empty ( good approach? )

Hello, I'm building search for my worker table with eloqent, and for example I have two fields : $fi...

0 Likes
1 Replies

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.