Support the ongoing development of Laravel.io →

4,599 Threads

Get result from chunk

Hi All, I have around 500,000+ records on my database and fetching it using the laravel query builde...

0 Likes
2 Replies

Narrowing by a column of ManyToMany related table

Tables are here. Table | Columns Article | id, [others] Article_Tag | id, article_id, tag_id...

0 Likes
2 Replies

Routing Question...

Quick question, I am doing a form post to my database. After I got it working but after i split up m...

0 Likes
0 Replies

How to show checkboxes as checked when values are set in the database

I really hope someone can help, I'm setting up entrust and trying to manage roles via an edit users...

0 Likes
7 Replies
Solved

Don't know how to manage in laravel this database reality

I have this tables: admins places grants Each Admin has 0-N Place. Each Place has 0-N Grant. So we h...

0 Likes
0 Replies

connect to multiple DB

I want to switch between DB connections. Because I have the authentication DB which laravel set to a...

0 Likes
1 Replies

date_format?

How do I use date_format? I can't figure out how to format a date from YYYY-MM-DD that's stored in m...

0 Likes
9 Replies
Solved

json in the view

I have 2 models: "user", "comment". comment have relation to user public functio...

0 Likes
1 Replies

How to: Iterate through record from DB

Hello! I have actors collumn in movies table and all actors are saved in following way: actor1, acto...

0 Likes
4 Replies
Solved

Request input

Hello every one, I am creating Rest Api using Laravel and i have some problem regrading Request inpu...

0 Likes
0 Replies
posted 10 years ago

Normal foreign key error:

I have brand new database and i want to make a normal foreign key relationship now i get the error:...

0 Likes
5 Replies
Solved

Submitted data doesn't get stored in database and i get redirected after submit

Hi i am trying to submit data from a modal,and i want it to,simply close the modal after submission...

0 Likes
4 Replies

seeding / accessing one-to-many-relationship

I have a problem with seeding a belongsTo-relationship. My code is the following: // the Model Compo...

0 Likes
1 Replies
Solved

Pagination Help

Hi everyone, Recently I just created a variable with a leftjoin it looks a little bit like this: $it...

0 Likes
0 Replies

Scan Barcode with Android to a page of a logged in user

Hi Peeps This is like a point of sale, the page will have a field for the customer number, amount an...

0 Likes
0 Replies

Class 'Illuminate\Database\Schema\PostgresBuilder' not found

$ php artisan migrate Class 'Illuminate\Database\Schema\PostgresBuilder' not found in API/vendor/bos...

0 Likes
0 Replies

PDO Foreach in Foreach problems

<?php $query=$db->query("select * from urunmenu",PDO::FETCH_ASSOC); $data=$query->fe...

0 Likes
0 Replies

New to Laravel/Eloquent, need help with relational inserts.

So I am new to Laravel but not to LAMP development, I have been doing this since 1999 and I feel tha...

0 Likes
1 Replies
posted 8 years ago

error in table creating using lara project

public function up() { Schema::create('records', function (Blueprint $table) { $table->increments...

0 Likes
0 Replies

PDF file upload via form Laravel 5.2

Hello, I'm new here and quite new to Laravel. I've been trying to add a form that submits author, ti...

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.