AbdulBazith AbdulBazith
25

Get data from 3 tables with relationship laravel

Guys i have a problem in my hotel management system project. i have a product_type table (parent table) with columns id type_name pr...
Laravel
25
360
me10071990 me10071990
21

How can show only my old post?

I have number of post in my view and want to display only old post in my home page? Thank you. :)...
Laravel
21
260
Van1310 Van1310
18

Ajax autosave selection without submit button

suppose i click dropdown value then automatically value store in database without page refresh or submit button please help me...
Laravel
18
229
MattB MattB
18

Issue submitting form data from bootstrap 4 modal

I cannot get data to submit from a modal in laravel. When I use the below code and hit the 'add user' button, the modal just closes and doesn't seem to call the...
Laravel
18
223
forteirp forteirp
18

body data is including the HTML when it's input to my phpMyAdmin...

Here's what I'm talking about ... https://i.stack.imgur.com/4uw9b.jpg My...
Laravel
18
182
piusbnsl piusbnsl
18

Routing in Laravel?

I am new to Laravel and I was watching laracasts' tutorial. I have a doubt in routing section. I also searched it google but I think I could not frame it properly. So I am...
Laravel
18
199
Chron Chron
16

Bug when I manually login users

if (Auth::attempt(['email'=>request('email'), 'password'=>request('password'), 'account_type'=>"Admin"], request('remember')...
Laravel
16
193
muazzamazaz muazzamazaz
16

Unknown Database Laravel 5.8 New Registration of user

I am getting following error after creating database name HotelBooking in mysql and set this in .env file. I have also run migration successfully but when I try to register...
General
16
131
thebigk thebigk
14

Append an attribute to collection without causing N+1 issue

I'm trying to find out a way to append an attribute to the returned collection without causing N+1 issue. I've to fetch a list of events and the collection should ha...
Eloquent
14
124
viktort1t0 viktort1t0
13

Laravel on Shared Hosting Image issue

I know that is not a good practice to use Laravel on a shared hosting server but for this time i have no other choice right now. So, i put all the files outside the plubic_...
Laravel
13
123
mada72 mada72
13

update stock

Hello, if( $product->quantity - $item->qty < 0)....return..??? I need a condition...can you help me please? my code public func...
Laravel
13
125
Torch Torch
12

Mix is compiling to empty js file

Laravel Mix Version: 4.0.7 Node Version 10.15.1 NPM Version 6.9.0 OS: Win 10 + Homestead Hello, I have a problem on windows (homestead virtual, winnfsd plugin...
Mix
12
86
Meenachinmaylaracasts Meenachinmaylaracasts
12

views not found in res/views/projects/activity

View [projects.activity.{ completed_task }] not found. I am getting this error when i am trying to dynamically load views from res/views/projects/activity. i am foll...
Laravel
12
106
meriki meriki
12

My Laravel views not working

Hi Laravel Dev I have successfully installed Apache, PHP, and MariaDB and I also install laravel with no issue and I created my project setup my route and views with...
irankhosravi irankhosravi
11

How to change password?

I want to edit form form update only address, email and password. How to change password? Old Password is important. e...
Laravel
11
209
hackroot hackroot
11

Hiding a section of a table when empty in laravel

Hi, I am working on a pos system with laravel, currently i am trying to hide empty options on th pos receipt whe they are empty. Example I have a section for Tax, Discounts...
Laravel
11
176
jinsonjose jinsonjose
11

what is the best practice for building seperate login for user and admin in laravel 5.7 +

i am new in laravel i want to develop a blog site in laravel it need admin login and user login so how can i create different login in laravel 5.7+ (use single table or mul...
Laravel
11
234
ajithlal ajithlal
10

intervention image not resizing image greater than 15mb

Hi All, I'm using Intervention\Image\Facades\Image to resize image. It works fine when uploading images upto 12Mb. but it is returning 500 while upl...
Laravel
10
147
Fajar Fajar
10

somthing worng

Hay i get code into view my blade is there to help index.blade.php <section class="jumbotron text-center"> &l...
Laravel
10
99
oliverbusk oliverbusk
10

Vue - parse JSON string

Hi all I am trying to parse a JSON string that my Laravel application serves to my Vue view. The JSON string can look like this: { "1":...
Vue
10
180
Create a New Discussion Button