Support the ongoing development of Laravel.io →

4,606 Threads

posted 9 years ago

How to retrieve IMAGE from MSSQL server ?

I am working on a application that uses data from a 3rd party server (MS SQLSRV) which I have only r...

0 Likes
1 Replies

how to solve this complex database query

Hi i have 2 tables tables users attendance https://gist.github.com/john5db/e40054a4a1f2359f5e91 I...

0 Likes
2 Replies
posted 8 years ago

Input for Business hours for a restaurant . Laravel 4.2

For each day i have start and end time for the restaurant . ex :( Monday from 8 pm to 1 am and fro...

0 Likes
0 Replies

Relationship local key

Can someone explain me why I have to use the local_key in this relationship? My table User have a pr...

0 Likes
0 Replies

Foreign Key errors after defining primary key of several column

Hello everyone! I have the following situation. I created a table person with the following migratio...

0 Likes
1 Replies
posted 10 years ago

INSERT ON DUPLICATE?

folks i have been trying to implement this simple sql for mysql in laravel, i know i am missing some...

0 Likes
2 Replies

Sorting union query

Hi. i would like to know how do i sort the data from my union query package_data query $query = DB::...

0 Likes
0 Replies

Approximate Dates

I'm trying to port over to Laravel a feature that I built in PHP where a user can enter approximate...

0 Likes
0 Replies

CSV Import Error - unrecognized

I have a project that comprises of various laravel models. Everything has worked fine because I have...

0 Likes
0 Replies
posted 8 years ago

Lumen Api is very fast On Local server but lot slower in production server

i just created a api using Lumen whern i tried it in localhost using the phpmyadmin database the res...

0 Likes
1 Replies

Model::where query doesn't work

I have a model called Article with the table 'articles' and in the database there is a 'published' c...

0 Likes
3 Replies

Cronjob 'delete' query doesn't work

Hi Guys, I'm having trouble finishing my cronjob for deleting a existing user if their account has e...

0 Likes
0 Replies
posted 8 years ago

I am trying my Laravel web application, but I am getting this error. Kindly assist me. Best Regards

I am trying to host my Laravel application to my subdomain, but I am getting this error. I have trie...

0 Likes
0 Replies

Laravel 5: easy and comfortable query caching?

Hello! Removing cache manager and Equolent 'remember()' is pain for us :( Is there any other way to...

0 Likes
3 Replies

PIVOT TABLE ( Show only the classes where the user is registered )

How can i show the classes only for student who is registered in a class? I have 2 tables and a pivo...

0 Likes
0 Replies

extended hasManyThrough

So I have the following models : Category, Subcategory, Product, Color. A category has many subcateg...

0 Likes
0 Replies

model event to record history's

i am trying to create an model event to track amendments.. the table structure uses a sequence field...

0 Likes
0 Replies

Understanding laravel 5 Many To Many Polymorphic relationship

I am reading laravel 5.2 docs to implement many to many polymorphic relation in my Laravel Applicati...

0 Likes
2 Replies

Override table prefix for one model

I have prefixes setup for my database: "pmt_" for a couple of tables, i want to override t...

0 Likes
7 Replies

PHP code from a table

Hi, Is there any way to get php code from a mysql table, and run it in a blade template?

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

© 2025 Laravel.io - All rights reserved.