Support the ongoing development of Laravel.io →
Nefazodone

Nefazodone

Joined 21 Jun 2015

Statistics

Threads 2
Replies 1
Solutions 0
Articles 0

Query needed to retrieves records from two tables

I have two tables in MySQL database Services and Data Services has a service_id column as a primary...

Likes Replies

My query returns the first value only

I am newbie. I have a table in MySQL database called data ,it has the columns service_id ,price, c...

Likes Replies
6 years ago

My query returns the first value only

tkprocat said: $data = Data::where('service_id', $service_id)->first(array ('price','column3','c...

0 Likes

We'd like to thank these amazing companies for supporting us

Your logo here?

The Laravel portal for problem solving, knowledge sharing and community building.

© 2021 Laravel.io - All rights reserved.