I want to send 2 values to the view with lists of laravel
admin.horarios.create
The question is this, I have this code:
public function create()
{
$docente = Docente::orderBy('nombre','ASC')
->...
Someone helps me with this error that has me already with a headache please
Part of the Controller of the Update:
public function edit($id)
{
return view("almacen.categoria.edit",["categoria"=>Categoria::findOrFail($id)]);
}...
I cloned a project of a repo git. When I try to open it ( link ) it tells me the following:
Fatal error: Uncaught Error: Class 'Illuminate \ Foundation \ Application' not found in C: \ xampp \ htdocs \ pikum.mapu \ bootstrap \ app.php: 14...
I have made a search with eloquent laravel, but I had a problem at the moment of having 2 where and% orWhere , since in my database we work for state [0, 1] to see if a record has been low.
But when searching for a...
I just plugged in again, I have a problem installing the Adminlte package,
I install everything well the composer
composer global require "acacha/adminlte-laravel-installer=~3.0"
but apparently when executing the command
adminlte-laravel...
When I removed a dependency of composer.json and executed composer update , the packete caffeinated/shinobi was eliminated, which weighed to replace it with a similar one since it gave me a lot of problems.
But now when I...
I have the following problem: I am trying to make a AJAX query POST by sending JSON to a controller in Laravel , to then record that information in the database, but I can not find where the error is because the query is not executed corr...
I have a form in which I save an image, I save the image in the folder successfully, but the new image path with its new name is not saved in the database.
Save something like:
"C:\xampp\tmp\php71AA.tmp"'
This is the part I use to get the...
Every time I need to add a field, another modification I have to execute the php artisan migrate: refresh command but in doing so I update the db but it deletes the data already inserted. Is there a way to avoid that?
I have been doing a CRUD in Laravel and you are giving me an error that can not be found since I do not have any function that is called Show .
Userscontroller:
public function destroy($id_usuario)
{
$user = Usua...