Support the ongoing development of Laravel.io →

4,599 Threads

Insert a student, who's a user, in a transaction with Eloquent

I need to insert a student who belogs to a user table. I have something like: DB::transaction(functi...

0 Likes
1 Replies

PDOException: could not find driver

Hello! I'm running a Laravel application on an Ubuntu server with Nginx on a Raspberry Pi. For some...

0 Likes
1 Replies

update queries

I always want to play safe when there is a delete or update query in the database through web applic...

0 Likes
1 Replies

Database schema / relations help

Hey guys, I made a thread yesterday, regarding an issue I had with my application. I have managed to...

0 Likes
5 Replies

How to search for partial matches in SQL database

How do I search for a partial match in a SQL database with Laravel?

0 Likes
1 Replies

Using a different field name in Schema Builder increments()

Hi I've been reading docs, Code Bright book, googling and asking (on irc) about If I could be able t...

0 Likes
2 Replies

forceDelete() Deletes all rows if no "deleted_at" column exists

It seems like there is a problem when using forceDelete() on a table with no "deleted_at"...

0 Likes
3 Replies

Route Model Binding

I am using Route::model('user', 'User') in my project. This works completely fine if I created table...

0 Likes
2 Replies
Solved

New Eloquent not defined correctly.

I've been learning Laravel today and went to dive into creating my first Model and ModelController (...

0 Likes
2 Replies
Solved
posted 10 years ago

laravel connnect database fail,it do not try to reconnect database.

i find laravel connect db fail,it do not reconnect,so i add 'connecttimes' in database.php, and modi...

0 Likes
0 Replies

Query a relationship

I am trying to determine number of rounds a tournament might have. I am importing data from an API a...

0 Likes
0 Replies

Maximum nesting level error after 4.2 upgrade

Hey there, I just branched off of my base application to test upgrading to Laravel 4.2. Now I am get...

0 Likes
5 Replies
posted 10 years ago

Form inside a form

Is it possible to have a form inside a form? On my page I have 2 forms. The 2nd form is inside the 1...

0 Likes
2 Replies
posted 10 years ago

Update Php

<?php ob_start(); session_start(); include("connect.php"); if(empty($_SESSION["kullanici_adi"...

0 Likes
0 Replies

User Model saving null values to database

Good day, Please i am new to laravel. I have created a form and i continued with the user model alre...

0 Likes
6 Replies
Solved

Call to non member function merge() on a non object

I am executing two query builder ->get(); and trying to merge() but get the error: $output = $que...

0 Likes
1 Replies

Updating record attributes

I can't get Eloquent to update the last attribute for the record, only the first attribute is saved....

0 Likes
1 Replies
Solved

Homestead + remote database connection error!

Hello everybody! I have a small project which use XAMPP for development, and I use mysql database fr...

0 Likes
2 Replies

Call to undefined method stdClass::save()

Actually I am trying to save the same data again in the database. So I retrieved the value from the...

0 Likes
1 Replies

raw sql to Eloquent.

paginator's per page not work. all results displayed. i need raw sql to Eloquent. pls help. Eloquen...

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