Laravel Questions

Ad

Laravel 7 Relationships

Hi guys i’m new at using laravel, now i’m working with laravel 7.2.1. i have three tables: table users: id, name, email.

Undefined variable on Laravel

I´m a beginner starting with laravel. i´m trying to show a question made on this website. here is the controller page:
Ad

Download file in laravel

I am new to laravel and i trying to capture the filename stored on the database table called "infrastructure" so that i can create a link for
Ad
Ad
Ad
Ad
Ad

Laravel5 how to pass array to view

I am confuse as how to pass variable from controller to view. i know there is a lot about this already on stockoverflow but unable to find one

Multi user role in laravel 8

I want to redirect to the user's dashboard according to role. i have created a separate table for the user role and a separate table for the user.
Ad

Laravel using WHERE orWHERE

I have a query as below. when i search using the query below, it fetches the products but it shows other products from other airlines even tho i

Add to cart auth

I am trying to make an add to cart button but there is an error that is happening in this line if (cart::where('prod_id',
Ad

Hash in Laravel

There. i'm preparing a laravel test, and there's a question that i think is not correct. when you should use a hash? the available answers
Ad
Ad

Blog Categories

Ad