Support the ongoing development of Laravel.io →

4,599 Threads

posted 8 years ago

Mysql query fetch results from given two dates

Hai guys, just now started working laravel, i need to right an mysql query in fetching rows between...

0 Likes
0 Replies

Multiple relathionship row reading

Hello everybody, I ma using laravel 5.2 and i have 3 tables users, visits, visits_time, i have relat...

0 Likes
0 Replies

How to show PDF file from project.

This is my code and my pdf file is into the public/image/pdf/ public function showpdf($fsr_num)...

0 Likes
3 Replies

Insert record into database fails Not a fillable problem.

My inserts are not inserting. I made a save method in the model so I could put in some debugging. He...

0 Likes
0 Replies

laravel 4.2 environment setup on ubuntu

I followed the other post in stackoverflow. I had pretty much the same question but the problem is...

0 Likes
0 Replies

oneToMany with a relation table.

Some one has a hint how to make a oneToMany relation with a relation table? I have 2 tables having f...

0 Likes
0 Replies

Paginating Results with Dynamic Query Builder Filters

I found this tutorial on creating dynamic filters for query builder, allowing me to quickly run thro...

0 Likes
3 Replies
Solved

Android to Laravel

Hi Someone is developing an Android app for the website i am working on. This app will have two func...

0 Likes
3 Replies
Solved

Eloquent returns unused values

print_r(User:all()); This prints a lot of fields which are of no use to me like [hidden:protected] =...

0 Likes
1 Replies

Cycle dependecies

Hello, i have general question. How do Eloquent solves cycle dependencies on the tables? Does it at...

0 Likes
1 Replies

Translating a sql query so that can be accepted in laravel

I have this sql query, but I have no idea how to sort of write it Raw so that it can be put into my...

0 Likes
0 Replies

Laravel 4.2 Homestead PDOException "could not find driver" using "sqlsrv" for MS SQL server.

I'm using two database connections. One is our data warehouse, one is the mysql database powering th...

0 Likes
1 Replies
posted 8 years ago

Import CSV file into mysql through seeder in Laravel 5.2

I have a csv file which contains all data of my blog, i want to import this file into mysql through...

0 Likes
1 Replies

Laravel, mysql, sessions - return same row mutiple times

how do i return same row mutiple times? I tried using wherein('table' , \Session::get('memory')) asw...

0 Likes
0 Replies

Jason to Model

As i understand laravel supports the model route binding. I do understand how it works and i find th...

0 Likes
2 Replies

transactions not rolling back properly in tests

I found an interesting behavior while doing some integration tests using model factories. I set up t...

0 Likes
1 Replies

How can i get records using laravel eloquent relation with where clause???

My database structure like this: category: id, name Parents: category_id parent_id id has parent cat...

0 Likes
3 Replies

Laravel 5 not updating customer/worker to database

Been working on my latest project for school and i've ran into a bit of a problem, i have 3 logins t...

0 Likes
1 Replies

REST GET request results into a different database connection

Hello, I have two applications on my local server: [A] http://site.local and [B] http://api.local. T...

0 Likes
3 Replies
Solved

Eloquent/Database Query Builder events

Hello I've recently had the need of firing events when update() or delete() methods on QueryBuilder...

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