Questions tagged as 'laravel'

1
answer

Security to Laravel AJAX requests

I have a question, I hope and you can help me, I'm new to laravel and I'm doing a system where I'm using Ajax The thing is like this This is an example of the way I'm doing it I have a route called "host: 8000 / people" Which your index...
asked by 23.09.2017 / 20:19
2
answers

Laravel PDF Bootstrap

I've been trying for a couple of days to generate a code html plus css helping me bootstrap to make a consolidated facutra that looks like a company but I'm not capable. I found and found that with Barrydvh in L...
asked by 27.09.2017 / 10:16
1
answer

related tables and change data in laravel view

I have three tables: Schema::create('comp', function (Blueprint $table) { $table->increments('id'); $table->string('nombre'); $table->string('direccion'); $table->string('n_com'); $table->...
asked by 06.10.2017 / 20:41
1
answer

hello, I need help, I am new to Laravel and I would like to know how to modify a single attribute of a logging [closed]

//Esto son los atributos, practicamente quiero tratar de utilizar esta forma //solicitudes::find($id); public function up() { Schema::create('solicitudes', function (Blueprint $table) { $table->incremen...
asked by 31.01.2018 / 19:49
2
answers

I can not log in with manual authentication of laravel 5.4

<?php namespace App\Http\Controllers\Auth; use App\Http\Controllers\Controller; use Illuminate\Foundation\Auth\AuthenticatesUsers; use Illuminate\Support\Facades\Redirect; use Illuminate\Support\Facades\Auth; use Illuminate\Http\Request; cla...
asked by 30.08.2017 / 00:46
1
answer

Insert multiple data in database in laravel

I need to save in an array the text strings I have in several inputs that have been created dynamically, to send them to the controller and that it can insert them in the database. // This would be the view //ESTO ES EL CODIGO QUE GENERA L...
asked by 27.10.2017 / 13:13
1
answer

Select dificil with Laravel

I need to pass this select that cost me a lot to do it, to Laravel and there is no way, I would like to know if there is any way to put the query direct without passing each clause by the Laravel functions or if someone hel...
asked by 01.11.2017 / 12:33
1
answer

relations in laravel 3 tables

I have 3 tables: Student (id) Course (id, name) Enrollment (id, student_id, course_id) When I login with a student in his account I receive his data with: $alumno = Alumno::find(auth('alumno')->user()->id); I tried to get...
asked by 19.06.2017 / 08:00
1
answer

calculate average of laravel notes

I have a table Notes (id, id_matricula, id_evaluación, nota) Through my controller I send the notes of a student logged in: public function calificaciones($id) { $alumno = Alumno::find(auth('alumno')->user()->id); $asignatu...
asked by 19.06.2017 / 23:21
1
answer

Laravel Convert the value of an array to Int

Good, I need to save in a variable the specific value of an array in another variable From here I receive the data: $data = \DB::select(" SELECT SUM(CASE WHEN status like 'Por Despachar' THEN 1 ELSE 0 E...
asked by 16.06.2017 / 03:34