Support the ongoing development of Laravel.io →

4,599 Threads

Saving positions in database

Hi, I want to save positions in my database, like such: { x: 254, y: 232 } Would I just create two c...

0 Likes
2 Replies

Create global function

So I am creating a billing area, and wish to create a table in the database for logging specific act...

0 Likes
1 Replies

Delete element by ID from DataBase

I try to delete a line with specified ID from database and i get an error: MethodNotAllowedHttpExcep...

0 Likes
5 Replies
Solved

Pagination - Start at a specific page

QUESTION I would like to be able to start the pagination on a specific page. CONTROLLER public funct...

0 Likes
12 Replies
Solved

SQL to LARAVEL QUERY or LARAVEL 'RAW' QUERY

Hello i need a query to transform to laravel query or laravel raw query better.....its complex and i...

0 Likes
1 Replies
Solved

Laravel hasmany filter

I want to filter my logs in hasMany. I have table User, table Logs, and table LogType User has many...

0 Likes
1 Replies

CRUD retrieving data

How can I retrieve the data of specific id without using the id as url? Thank you in advance! I mean...

0 Likes
1 Replies

Can I convert all date formats when getting model data?

I'm wondering if there is a built in way to convert all date formats for display. For example, right...

0 Likes
2 Replies

Pagination - Start on specific page.

I have paginated a result from a DB in my controller, but I would like to start the view on say the...

0 Likes
0 Replies

Onchange load filter marker from database

<script language="javascript" type="text/javascript"> var pubvar1 =...

0 Likes
0 Replies

Lumen: Problem with migrations in unit tests (Class config does not exist)

Hello there! I'm trying to setup unit tests for my Lumen application. Sadly, that only works well fo...

0 Likes
10 Replies

HELP! Selecting specific data to a specific user.

How can I make that in a certain data the only one who can view is the user of this data and the adm...

0 Likes
0 Replies
posted 8 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

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.