Questions tagged as 'laravel'

1
answer

how to modify my profile according to a user's ID In laravel + Vue

Hi, I'm new to laravel And I have a problem when it comes to obtaining the data according to each Account. I do not know how to send the unique ID of my account to a Vue + axios so axios automatically shows my information according to the accoun...
asked by 26.03.2018 / 20:12
1
answer

Search engine that queries two different tables laravel 5.4

Description The search engine currently makes a query to the news table where it finds the data by ( news_program, noticiero_turno, news_date ), the question is How can you make in that same query extract data from the another table that is ca...
asked by 25.03.2018 / 01:17
2
answers

orderBy in laravel

I have a driver that sends a list of enrollments by subject, each registration belongs to a student. public function showCalificacionesAsignatura($id) { $asignatura = Asignatura::find($id); $matriculados = $asignatura->matriculas;...
asked by 20.06.2017 / 05:05
1
answer

laravel filter results by date range

Hi, I need to filter according to a particular range of dates. I'm trying to do it on my own but it has not gone well. It is giving me this error. I want to filter by the field Date_emission below is the model of my table "SQLSTATE[22007]: Inv...
asked by 07.06.2017 / 17:37
1
answer

Filtering in laravel with datatables does not work with mysql

I am using Laravel 5.3 and the latest version of the dataTables plugin. Before working with postgres, migrate to mysql for needs of the db, then I encounter a problem, the custom filtering throws me an error that is as follows:    SQLSTATE [H...
asked by 08.06.2017 / 21:49
1
answer

Migrate some tables in laravel?

Hello I have a database already created with some tables and records in them, this database was previously created with laravel. Now what happens is that it was necessary to modify some relationships between the tables from the laravel miagra...
asked by 02.06.2017 / 18:36
1
answer

URL encoded% 7B% 7B $ -% 7D% 7D /% 7B% 7B $ -% 7D% 7D

I have a route that sends all data well to the controller, but when the data arrives at the URL the data becomes symbols. I understand that %7B%7B$ dato %7D%7D is the same as {{$dato}} Does anyone know how to avoid this? p...
asked by 21.07.2017 / 02:29
1
answer

Connect a remote database in Laravel

I am developing an application with Laravel 5.2 and I must connect a remote database, to do it from the command line I type. mysql -u root -p -h 'remote_ip' --skip-secure-auth Doing this does not send any errors, I want to do this from L...
asked by 30.05.2017 / 00:59
1
answer

What are the providers, aliases and their differences? [closed]

Hi, I'm good knowing Laravel and I'd like to know what the providers and aliases are in the file cofifg \ app.php and what their differences are.     
asked by 01.06.2017 / 23:17
1
answer

How to make a tour of N records in Javascript

I have this code that verifies me if the id number entered in a form exists in the registry: callAjax("http://page.app/serial?" + Date["now"](), function (a) { console["log"]("resultcheck", a); try { a = JSON["parse"](a) } catch (e) {...
asked by 21.05.2017 / 21:25