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...
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>...
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);...
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...
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...
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...
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;
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...
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...
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...