Questions tagged as 'laravel-5.7'

2
answers

How to update file array in laravel?

I am developing a project in which I have to save several files from a table, I can save them the problem is to update or edit I can not do it I get this error    "Argument 1 passed to Illuminate \ Database \ Grammar :: columnize () must be  ...
asked by 06.12.2018 / 00:22
0
answers

Update Some fields from controller and others from form - Driver laravel

As I say in the title, I need to update some fields from the form and others in the controller automatically I know this form $ejemplo = Usershow::find($id)->update(['campo1' => $variable1]); But I would like to know if there is anoth...
asked by 24.11.2018 / 17:24
2
answers

Select a checkbox in a table

Today I pose the following problem, I have in the view of my website a table with clients that I pull from the database until there everything is fine, at the same time as the clients I have a checkbox select so that when I want upload a file ca...
asked by 29.10.2018 / 18:10
1
answer

Method of a resource route does not receive argument in laravel 5.7

I am deleting and editing in a simple crud with laravel 5.7 but when using a resource path with its respective edit and delete methods (edit and destroy respectively), the method in question does not receive the id argument that I am passing: co...
asked by 28.11.2018 / 19:18
1
answer

Pass variables to the Laravel view 5.7

I tell you I am trying to pass the data of an array to a view but I can not specify this is the controller code $lists = array(["name" => "Cerchas", "status" => "1"], ["name" => "Ventanas", "status" => "...
asked by 13.12.2018 / 17:49
1
answer

Many-to-one consultation laravel

I have a doubt in a controller with a relation of many (Product) to one (Brand), I try to search in Product to show the relationship 'Brand' but apparently I have an error because when using where() to search In Product and then show the...
asked by 19.11.2018 / 13:04
0
answers

How to make a treeview with Vuetify?

I'm having a problem, and it's like doing a treeview with Vuetify: <template> <div class="container"> <div class="row"> <div class="col-md-8 col-md-offset-2"> <div class="panel panel-default">...
asked by 30.12.2018 / 21:38
1
answer

Check if the file is an image or video in php? using laravel framework

I have a problem, I can not solve this problem about showing content in my view. I have a table in my database called galleries: idGaleria url UserID What I record in that table is the url where I store the file, either photos or vide...
asked by 03.01.2019 / 08:19
1
answer

How to relate Models the correct way in laravel?

You see, I'm working with 3 models, the property, the type of property and the location of the property, it happens that the type of property and the location of the property are attributes of the property (it should be noted that they are in re...
asked by 11.12.2018 / 22:30
1
answer

How to make a dynamic selection in laravel 5.7 laravel collective?

Veran I have a registration form to my table Inmueble , and one of the fields is its location, the ubicacion is also a table in my database, the fields in the table ubicacion are id and nombre , I need that the s...
asked by 12.12.2018 / 18:51