Support the ongoing development of Laravel.io →

4,587 Threads

posted 10 years ago

strange Date (Europe/Berlin) convert the right way?

HI i have a Datepicker plugin to pick up some dates i get the dates in the input field like (d.m.Y)...

0 Likes
1 Replies
Solved

Not able to get proper return from sql raw test

I have a postgres function that measures the distance between two points. I want to use this as a te...

0 Likes
1 Replies

Postgres view

Is possible to query a postgres view by declaring oi eloquent class protected $table = 'view_name';...

0 Likes
1 Replies

Using "where" with dynamic properties

I have a situation where a user can upload profile photos to an album: there is a "users"...

0 Likes
2 Replies

Make data from home controller accessible to content controllers.

The default layout and its controller has the main menu which gets user info from the DB for the log...

0 Likes
2 Replies

Having problem inserting multiple rows in a table.

I have got the following array from my form. Now I want to store those data in a table. Array: Array...

0 Likes
2 Replies

Behat - Vagrant - cannot access database

Hello there. I've been struggling for hours and hours, searching all over google on how to use Mink'...

0 Likes
0 Replies

MySQL query with curdate() not working

I'm rewriting a site using Laravel and having problems with queries involving dates. This is a pre-L...

0 Likes
3 Replies
Solved

Eager loading with "limit" not working.

I have two tables news and comments. News can have many comments: //News public function comments()...

0 Likes
1 Replies
Solved

Fills created_at and updated_at on record creation

The timestamps are being filled in both the created_at and updated_at when a record is created in my...

0 Likes
5 Replies
Solved

Continuing a session

I like to implement this in an application: when the user becomes inactive and the session is about...

0 Likes
0 Replies

php artisan migrate error: [PDOException] could not find driver

I'm trying to learn the basics of Laravel 4 and I'm also new to programming so I'm trying to learn a...

0 Likes
1 Replies
posted 10 years ago

Laravel pagination is damn slow

I was looking for a bottle neck of my app and it turned to be the laravel pagination. I have a table...

0 Likes
6 Replies
Solved

git and database.php

Hi there, I have my laravel project in git... and I do not want to commit my passwords to repo... so...

0 Likes
1 Replies

How to orderBy users by Userdata model?

$data['photos'] = Userdata::where('name', '=', 'main_photo')->orderBy('updated_at', 'desc')->p...

0 Likes
1 Replies

3 related Models, how to insert update delete?

Hello, I am new to Laravel and have an issue in one of my models. I have the follwoing: class User e...

0 Likes
4 Replies

Describe model table

Hello i was wondering is there an easy way to describe table that corresponds to specific model like...

0 Likes
1 Replies
Solved
posted 10 years ago

Combining 2 functions on a class?

I would like to know how i can combine 2 functions to a class. (newbie question) $data = tblcategori...

0 Likes
5 Replies

Rollback if mail sending fails - how to do?

Hello, I have a database operation that saves a user in the database. After saving I will send an em...

0 Likes
2 Replies

Image Upload / Lavarel stores image as a .tmp and not .img file

I created a Forum which should upload an image. In my form i`ve {{ Form::file('image') }} This is a...

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.