Support the ongoing development of Laravel.io →

4,603 Threads

posted 10 years ago

PDO Exception -Could not find driver.

Hello everyone mi name is jose and may help me , i have the following error in "php artisan mi...

0 Likes
1 Replies

Eloquent: custom logic for model property

Hello! I would like to learn how to integrate custom logic to a model property. For example, some re...

0 Likes
2 Replies
Solved
posted 10 years ago

Replace old inline sql with db class

Hi, Can anyone please tell me how to go about this? I have some old php pages which are forms postin...

0 Likes
0 Replies

Deleting row with lowest id from database?

Hello. I'm still learning Laravel and I want to remove the row with lowest id from my database. I tr...

0 Likes
8 Replies
Solved

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

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.