Support the ongoing development of Laravel.io →

3,604 Threads

How we create foregin key in phpmyadmin in laravel4.

How we create foregin key in phpmyadmin in laravel4.

0 Likes
0 Replies

Laravel 4.x , module system able to install/enable/disable via panel ?

Hello guys, i just started to use laravel, and i was able to create a new HMVC system following this...

0 Likes
1 Replies

problem with retrieving data from database

hi , i am new in laravel & stuck in a stage pls help me ... I am trying to authenticate a user &...

0 Likes
1 Replies

Eloquent has no handling with malicious data??

I did a simple query like: $query = "sdsad'sa"; Spot::where('title', 'like', '%'.$query.'%...

0 Likes
8 Replies

to many queries and long load

Im build my app localy, and Im afraid after Ill get some traffic in to it it will simply crash. and...

0 Likes
3 Replies

Problem with Eloquent - Case sensitive condition

Hi. I perform $a = Items::where('code', '=', $code); In the code column there are various entries, u...

0 Likes
3 Replies

Eloquent - Get Post where parent of parent id = XX. It's possible?

I'm trying to get a Post inside a Session, but between Post and Session I have a Category Model. Eac...

0 Likes
1 Replies

Make this query in Eloquent

Hi Can we do this query in Eloquent $tagString = implode (',', $tags); return DB::select (DB...

0 Likes
1 Replies

Knockout.js, Backbone.js, et al.?

What is the relationship between these data-binding frameworks and Laravel? Does Laravel implement s...

0 Likes
1 Replies

Joined table IDs are returned in the Model Collection instead of the main table IDs

Hi Guys, I have a query which it's toSql result is: select * from `jobs` left join `locations` on `j...

0 Likes
8 Replies
posted 10 years ago

Where do I put this logic?

I'm struggling with where to put logic like this? http://laravel.io/bin/Qz41 I have a multi domain a...

0 Likes
1 Replies
posted 10 years ago

Making a Forum

how could i display the forum topics from the database to the page?

0 Likes
1 Replies

best way to save a model with it's relasion

I have two tables products (model: Products) product_common_auction (model: ProductCommonAuction...

0 Likes
0 Replies
posted 10 years ago

How to make in category database subcategory

Hi i have two tables CATEGORY and PRODUCT i need SUBCATEGORY and then PRODUCT this is my database m...

0 Likes
2 Replies

Model::find($id) is being called 2 times to get related records

I am running the below Controller method which gets data from a specific Campaign table by campaign_...

0 Likes
2 Replies

Change data connection Laravel 4

Guys, good afternoon! Soon die and I can not solve a problem I'm having! I want some way I can chang...

0 Likes
5 Replies
posted 10 years ago

Seeder just insert one record instead of two

Hi, I'm new in Laravel. I learn Laravel from "Learning Laravel 4 Application Development"....

0 Likes
2 Replies

Querying a Many-to-Many Relationship

I might be overlooking this in the docs (Laravel 4.0) but I need to know how to query a many-to-many...

0 Likes
3 Replies

Trigger 500 error from the start.php file

In the ./application/start.php file, is there a way to respond with the 500 error page here, before...

0 Likes
2 Replies

Laravel environments

Hey, I'm working on an app made on Laravel where i have to host multiple domains. It's an Project Ma...

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