I currently have a CRUD for the users. I'm using the edit and update path to modify the name and email data, but I need another edit path and an update path to change the user's password. I want to work them separately.
The question is...
I am programming in Laravel 5.5 and I need to compare a query with an integer to perform a verification. The code is as follows:
$sum_=DB::table('eventos_tienen_trabajadores as ett')
->where('ett.id_trabajador', '=', $id)
->...
I am trying to create a Seeder called users to be able to modulate the seeds for each different table and have the project better organized. The problem is that when I use the command:
php artisan db:seed
Only execute the "DatabaseSeeder.ph...
My question is how do I access the parish array ...
try the HTML to do:
{{@beneficiario.parroquia.parroquia}} y and gives this error:
Error in render: "TypeError: Can not read property 'parish' of undefined"
HTML
...
Inside my mysql DB I have a table called teachers, which looks something like this.
Nombre | email | id | password ...
The problem is that I have to relate it to another call grupos , (it's to classically organize a group with its m...
I have a laravel blade form, using the input of the laravel collective form, for example:
<div class="form-group col-xs-4">
{!!Form::label('Titulo de modalidad','Titulo de modalidad:')!!}
{!!Form::text("cancion5","val...
How can I save documents in the public_html folder on my server?
I'm trying to save images but I can not get it, in my localhost it works fine, I attach my code:
if($request->hasFile('img')){
$file = $request->fi...
Hi, I'm doing a login with laravel and if everything works fine, the problem I have is that when I log out I get this error:
SQLSTATE[42S22]: [Microsoft][ODBC Driver 13 for SQL Server][SQL
Server]El nombre de columna 'id' no es válido. (SQL:...
The code I have in the function is the following:
DB::table('projects')
->where('order', DB::raw("(select 'order' from projects)"))
->order + 1;
The error that shows me is the following:
Undefined property: Illuminate...
Inserting any date in laravel 5.5 into a SQLserver database gives me the following error:
SQLSTATE[22003]: [Microsoft][ODBC Driver 11 for SQL Server][SQL Server]
Error de desbordamiento aritmético al convertir expression al tipo de datos datet...