Support the ongoing development of Laravel.io →

4,597 Threads

Cookie not Displaying

$cookie = Cookie::forever('test','selected') $test = Cookie::get('test'); dd($test); I'm getting NUL...

0 Likes
0 Replies

How to Setup Laravel Eloquent in Zend Framework 2?

My current project force me to use zend framework. However, i'm familiar with Laravel framework, esp...

0 Likes
0 Replies

Deleted at defaulting to zero?

Hi. I'm migrating an old database to a Laravel-based app. One issue I'm coming across is that during...

0 Likes
0 Replies

Simple add to database

I'm trying to make it so someone selects an amount to add to their credits field in the users table....

0 Likes
1 Replies
Solved

Accessing Session Data from a Model

Hey guys, Im only new to this, so sorry if its a stupid question. Background: I have 3 databases tha...

0 Likes
1 Replies
posted 10 years ago

DB Queries are outputting to View

Hi All. Having an issue when I run $result = DB::select in a Model it then outputs the $result array...

0 Likes
0 Replies

Optimize sql Query

Hi I have one scenrio. their is static content in database table. My table look like this. id ti...

0 Likes
1 Replies
Solved

How to order the first table by a column in the second table

Hi, i have a little problem trying to order the first table based on the second table column. Table:...

0 Likes
2 Replies
Solved

Cookies to Database Field Comparison

I am setting up a store for my client. They use Shopify... So in order to get login working for cust...

0 Likes
1 Replies

Cannot catch DB exceptions inside seed class

For some reason, I cannot catch DB exceptions inside a seed class: the code never enters the catch b...

0 Likes
1 Replies

How to return a single value from a scope?

This is what I have done so far: public function scopeCityName($query) { return $query ->join...

0 Likes
1 Replies
Solved

Money Manager

I'm looking for a script that will allow users to add money to a user account. Thanks in advance for...

0 Likes
0 Replies
posted 10 years ago

Dynamic Oracle database connections

Is there a package out there for Laravel that will allow creation of dynamic Oracle database connect...

0 Likes
1 Replies

Pagination help

Hey there everyone, I'm pretty new to Laravel and MVC frameworks in general. I'm struggling to make...

0 Likes
2 Replies
Solved

DB::statement binding bug?

I'm receiving the following errors when using $bindings with DB::statement. Is there an issue with t...

0 Likes
2 Replies
Solved

Changing accessors with setAppends while eager loading?

I would like to prevent some users from accessing certain database columns based on role management....

0 Likes
0 Replies

Easy problem with a relation one to many

Hi all i'm stuck in a stupid problem that drive me crazy: Users Model class Users extends Eloquent i...

0 Likes
7 Replies

Getting hasMany relationship data from hasOne relationship

Hi All, New to Laravel and MVC so I'm a bit stuck and hoping I can get a solution from you. I have 3...

0 Likes
4 Replies
Solved

Model/Database Design question

Hi everyone, I'm currently developing a small real estate app, and before starting, I was wondering...

0 Likes
2 Replies

How to make URLs SEO-friendly with Nested Set Model?

Hello Everyone! I'm using Baum package for Nested Set Model and I have added extra field to database...

0 Likes
7 Replies
Solved

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.