Questions tagged as 'laravel-5'

1
answer

I can not save values via POST - laravel vue

I'm trying to save the data I send from the Event view. I went to the storeEvent method of the EventController driver but it gives me error 422 and I can not find the problem so far. The Event model has a many-to-many relationship with the Ca...
asked by 25.04.2018 / 20:06
2
answers

Repeated data

I would like you to give me a hand with this since I can not find the turn This would be my code, The variable $a and $b I bring from the controller and the values are: $a=[1,2,3,4,5,6,7,8,9,10]; $b=[1,4,8] <select>...
asked by 02.11.2017 / 05:33
1
answer

Create method show () in Laravel

I am working on a library control system, when making an individual view of an element of the database I use the show method of my LibroController in the following way: public function show($id) { $libros = Libro::find($id);...
asked by 04.02.2017 / 00:50
1
answer

Occupy Ajax requests in more than one cloned select laravel 5

I have a table in which I add rows with jquery. These rows have several inputs and one select. The functionality of the select is that when choosing a product, in an input its description is shown, this works well with a call $ .get of ajax. The...
asked by 08.08.2016 / 23:27
1
answer

Problem with Laravel Collective form

It turns out that I am trying to send data, in Laravel , through a form using Laravel Collective . But when I press the Register button (the one that starts the request to send the data) nothing happens. Checking the console, it shows me tha...
asked by 15.11.2016 / 15:26
2
answers

Add 0 on the left - PHP [duplicated]

My problem is as follows: When creating a new client, I need 6 digits to be stored in the database, starting with 000001 . The problem is that when I save it, in MySQL I keep only 1 and I need you to keep all 6 digits. The fiel...
asked by 18.03.2017 / 22:14
1
answer

Problems with unique records laravel 5.5

Since I have had problems with the plunk() method I have tried to find a way to translate this query to Eloquent, but until now I have not succeeded, is there any other way? select distinct usuario_ad from usuarios;     
asked by 15.12.2018 / 22:57
1
answer

Control messages in laravel 5.5 forms

I have a form which gives me a query of a certain number of records, I would like it when these records appear to show a message on the top that says how many records I consult, but I have no idea how to handle these messages in laravel Does any...
asked by 20.11.2018 / 01:26
1
answer

How can I put the functions of Export in Datatables laravel

I have this little problem with the datatables, I can not put the elements to export Try using this example Datatables Export But I could not, I use laravel 5.5 and well this is what I have This is my driver use Illuminate\Ht...
asked by 21.10.2018 / 03:37
2
answers

call attributes through multiple relationships and select multiple

I am relatively new working in Laravel, and I am learning on the fly, this time I'm stuck, and where I am I can not watch videos to try to solve the doubt that I have in these moments, hopefully they will ask me to help. I have a relationship...
asked by 28.09.2018 / 22:31