Questions tagged as 'laravel-5'

1
answer

problems translation query eloquen laravel 5.5

Good morning ... I have tried to translate this query but it does not work for me in eloquen select * from usuarios where usuario_ad='danielad' and user_id; I must be making a small mistake     
asked by 05.12.2018 / 02:14
1
answer

Problems with textarea

You see, I have this code: <div class="form-group row"> <label for="texto" class="col-md-4 col-form-label text-md-right">Comentario</label> <div class="col-md-6"> <textarea id="texto" name="texto" pl...
asked by 01.12.2018 / 21:57
2
answers

Laravel soft delete in pivot tables

I have a m-n relationship between two tables using a pivot table. In the migration of the pivot table, I created it with a deleted_at field, using the softDeletes() method, like this: public function up() { Schema::cre...
asked by 29.12.2018 / 14:31
1
answer

background-image and the relative routes

You see, I want to use an image with this code for the user bar: <nav class="navbar navbar-expand-md navbar-laravel" style="background-image: url('usuario/sacarino.jpg');"> With this I get to see the image: But in case it is a m...
asked by 16.11.2018 / 09:43
1
answer

Insert multiple - Laravel

I come to you in search of an orientation, I am working with laravel 5.5, I am using some nested lists, like the ones in the following photo: In the first field I choose the server and in the second, it loads me a few instances from an...
asked by 08.11.2018 / 20:26
1
answer

Sent select value

Is there any way to select the value of a select and send it in the form? <td> <select name="confirmar" id="confirmar" class=" form-control" required> <option value="valor1">Pendiente</option> <op...
asked by 26.10.2018 / 04:35
1
answer

Limit storage space per user in Laravel

I am working on a new project and I was wondering if it is possible to limit the storage space per user in Laravel Let me explain, what I'm looking for is that if the user has the role student then he can store up to 1GB in his profi...
asked by 09.11.2018 / 20:54
2
answers

Laravel Seed db: seed [Symfony \ Component \ Debug \ Exception \ FatalThrowableError] Fatal error: Class 'model' not found

I am using the FactoryModel tool to populate the database, for this I did the following: I created the model: Php artisan make:model “Users” –m I made the migration: php artisan migrate Users Model { use Authenticatabl...
asked by 03.04.2016 / 17:46
1
answer

How to send parameters from my blade view to a Controller - Laravel 5.6

I need to send a variable in javascript that is in my view in Blade and send it to a controller that it would save in the database. Can you give me an example?     
asked by 10.10.2018 / 17:41
1
answer

Laravel 5.5 how to print an object in the view?

I'm starting in Laravel 5.5, and I have the following problem. I am creating the user login, I authenticate the user, but when I see it, I do not print it (Error: Undefined variable: users (View: C: \ xampp \ htdocs \ system_cine \ resources \ v...
asked by 26.09.2018 / 18:23