Questions tagged as 'laravel'

1
answer

Enter daily data in MYSQL with php

I am working on an app that receives 10 to 13 data and they are saved in a table of my BD, I need to add that data and that sum is saved in another field of the table, I am using Laravel 5.5. this is the driver: public function show($id) {...
asked by 27.07.2018 / 23:42
0
answers

Error migrating in laravel 5.6.28

I have problems when making a migration with seed en laravel. Thank you very much if you can help me.     
asked by 22.07.2018 / 03:35
0
answers

Laravel server internal error + PHP at the time of entering "/ login2"

Good morning everyone! First I'll put you in context: I have an API with Laravel + PHP on a server and when I want to access the path (which is in "/ login2", not "/ login") the following error appears: I spoke with CDMON (administra...
asked by 20.07.2018 / 10:00
0
answers

Create condition

I have this function where there are more than one form $valorasociado = new RadicadosAsociado(); $valorasociado->RasRadicados = $id; $valorasociado->RasRadcadoAsociado = $request['RasRadcadoAsociado']; $valorasociado->save(); I wa...
asked by 19.07.2018 / 21:34
1
answer

Problem installing composer for Laravel

I'm installing the composer and I get this error    The " link " file could not be downloaded:   failed to open stream: Only one use of each address is allowed   socket (protocol / network address / port) What is it? How can I solve it?...
asked by 23.07.2018 / 21:47
1
answer

Place boundary in relation one to many php laravel

I'm doing an app in laravel, but I get to a situation where the DB relationship is one to many users - articles, so my problem is that I want to place a limit that users can only add max 5 articles, I've been looking for, but nothing I try to tr...
asked by 25.07.2018 / 18:10
0
answers

How to detect with an Event in Laravel if a mysql record is completed in several fields by several asynchronous requests?

I have several requests that update the same record of a mysql database in asynchronous form (at different times). The record has 5 text fields (apart from the id , etc) that are completed separately by these different requests. Questio...
asked by 25.07.2018 / 21:07
0
answers

Passing data from a form to an html table

I need help what happens is that I want to fill out a form and that each time I press add the values of that form they go to an html table, without needing to insert them in a table of the database. I also want to be able to eliminate without ne...
asked by 17.07.2018 / 18:53
1
answer

Error loading routes in laravel

Route::get('foo', function (){ return 'Hello World'; }); This is the example of the official website of Laravel, but at the moment you do it I get it:    "Sorry, the page you are looking for could not be found." I appreciate if yo...
asked by 17.07.2018 / 20:08
0
answers

How can I add a field called telephone to the validator? Laravel 5.6

I'm having a problem wanting to add my field telefono in validator of table user in controller RegisterController protected function validator(array $data) { return Validator::make($data, [ 'name' =>...
asked by 17.07.2018 / 19:53