Support the ongoing development of Laravel.io →

3,604 Threads

posted 3 years ago

How is this query in Laravel

This is my code: $receptions = Reception::where('hotel_id', $hotel_id) ->where('payed', 1) ->w...

0 Likes
4 Replies

i nedd help

Hello I am working on an application, I would have to save a photo ID but when I click on the save b...

0 Likes
0 Replies

Foreign key column vs belongsTo

VendorProduct belongsTo a single Vendor. To find or assign a Vendor to a VendorProduct, must the Ven...

0 Likes
0 Replies

Laravel Response deleted_at

deleted_at when there is a null response "delsoseted_at": "1969-12-31 18:00:00",...

aleksandertabor liked this thread

1 Likes
0 Replies

How to call stored procedure using laravel and send mail?

Hi, I am beginner of laravel and MYSQL AND i wanted to call my stored procedure and pass the data to...

0 Likes
1 Replies

get all numbers are not in use

Hello, i try to explain my Problem. I have 2 Tables in relationship shootingbooks and shootingranges...

0 Likes
1 Replies
posted 4 years ago

Join relationship just like it is with "->with"

I'm a little confused why Builder::join couldn't be similar to Builder::with to join tables.. To be...

0 Likes
0 Replies

Get rows only if relation exists (Laravel Nova)

Hi I am trying to make a filter in laravel nova that allows me to select items that have a relation....

0 Likes
1 Replies
posted 4 years ago

Adding table on running site

What is the process to add tables on database of a running site ...da

0 Likes
1 Replies

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 4 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

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.