Support the ongoing development of Laravel.io →

3,578 Threads

How to properly store checkbox array

Hello I have a form on which I display 6 checkboxes numbered 1 to 6. They represent the classes a st...

0 Likes 2 Replies

BadMethodCallException

I'm trying to return data from database upon entering some text from search field. I'm using route:...

0 Likes 1 Replies

Trying to update the entry

Error is Creating default object from empty value Error shows in controller here $logbook-&g...

0 Likes 1 Replies

Database related tables data

Hi, i have two related tables "accounts & tokens" . Inside accounts i have a field &qu...

0 Likes 3 Replies

Weird eloquent bindings when using addSelect method.

Laravel Version: 7.13.0 PHP Version: 7.4.6 Database Driver & Version: Mysql & 8.0.20 Descr...

0 Likes 0 Replies

Checkbox validation

Hi, I have a project in Laravel 7 and my register form have two checkboxes, ¿how can validate one of...

0 Likes 0 Replies
posted 2 years ago

Lumen query error

Hi sorry for english , i try to change a developer code on a site write in lumen , im new of laravel...

0 Likes 1 Replies

Displaying most viewed items from database in last 7 days

I am trying to change the view style of my site, which is actually set to display two pictures which...

0 Likes 1 Replies

Data insertion in 4 tables with relationship

Hi i have a problem inserting data to 4 tables. Customers : with data of customers. this table hasMa...

0 Likes 0 Replies

Same Session for two different projects in different folders

I'm using Laravel 5x and I'm trying to have the user login from (for example): https://dev.example.c...

0 Likes 0 Replies

How to Make relationship for category,subcategory,product

I tried to retrieve the record from three table category,sub-category and products. How to retrive r...

0 Likes 1 Replies

User Roles Recursive

Hello. I use Laravel with UserAuth and Roles. All works fine. Now I want to add many Roles. The Role...

0 Likes 0 Replies

How to make an Automatic Selected Booking Date ?

Hello Laravel Brothers,Peace... I have tour reservation site with laravel infrastructure. you can lo...

0 Likes 4 Replies

Paginating products from Database

Hi, I have a database with a table called products, its something like this: Id|ProductName|ProductP...

0 Likes 0 Replies

issue

ntente buscar su pregunta primero utilizando el cuadro de búsqueda y asegúrese de haber leído nuestr...

1 Likes 0 Replies

Select dropdown value check and show if Not exist in databas

hi, i am trying to show only those packages name from drop down list which doesn't exist in database...

0 Likes 1 Replies

migrate error

Hello, I have started my first Laravel 7 project. If I want to start a database with it I get an err...

1 Likes 2 Replies

laraval migrate another migration , rather that the last one

Hi . I just create a migration to add a column to my "cvs" table , but when I run migrate...

0 Likes 1 Replies

Non-static method should not be called statically for scopes

I have a model with those methods: public function waiting() { return ! is_null($thi...

0 Likes 2 Replies
posted 2 years ago

php artisan migrate:fresh command with multiple connections

I have tow database connections, `'mysql' => [ // connection information ],...

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.

© 2023 Laravel.io - All rights reserved.