Questions tagged as 'laravel-5'

1
answer

How to collect JSON data in JQuery

I have this view of the data in a JSON in JQuery and I want to do something similar to what is done with laravel data to get the data and contrast it with others, I've done something like this ... console.log(resenia[0]{cmt_libro_id})...
asked by 17.02.2018 / 14:53
2
answers

How does Laravel work exactly in your MVC model?

My question is about how Laravel works, I know that your model is MVC and also that the one that makes the transactions is the Controller, I mean ... Vista < -------- > Driver
asked by 23.01.2018 / 19:21
1
answer

laravel public directory does not exist

I installed Composer yesterday and create a new project with the console using this command: composer create-project --prefer-dist laravel/laravel lp At this address: C: \ xampp \ htdocs \ xampp \ ad Everything was fine until I...
asked by 19.01.2018 / 19:33
2
answers

Multiple Relationship in Laravel 5

as I can make 2 tables with one, I explain, I have a table works and other projects, these two tables have in common a table called events, where I want to put as fk the id and type since they can be repeated the id (id 1 of works or projects fo...
asked by 12.01.2018 / 21:20
1
answer

Laravel: Blade directive does not work

Perhaps there is a better way to do the following but I would like a bit of rectoring to know what is wrong. I am trying to create a blade directive which can format weights or dollars, I mean that if we give an amount like 35000 this directive...
asked by 12.01.2018 / 17:57
1
answer

Search for registration from a form in Laravel [closed]

I need to place a search field in a form and if it finds the record in the database, complete the form data retrieved from the database, I can perform the search in the index method, which shows me the data in a table, but I want to do the same...
asked by 27.12.2017 / 22:18
1
answer

Automatically generate routes with laravel

Well I have a database that contains some tables, which are:    -Category.       -Subcategories. What I want to do is that if I add a new category, I do not have to place a new route, but it will be automatically generated by the databas...
asked by 22.01.2018 / 15:08
2
answers

Problem Laravel Routes with Ajax

I am using Laravel 5.4, I have three forms (Create - Edit - Clone) and in the 3 I need to execute the following Ajax request, for this reason the url of each form varies: http://app.dev/users/datasheet/create http://app.dev/users/datasheet/6/e...
asked by 22.12.2017 / 07:16
1
answer

Onclick event on touch screen

I am developing a project in laravel 5.5, the problem is that when I want to unlock and run the onclick event on a touch screen, I do not run it. How can I do it so that it runs on a touch screen? here is the code <li> &...
asked by 06.12.2017 / 19:35
1
answer

Read value of an array json_encode laravel

I did a query to the database ( BD ) which then transforms by means json_encode() to show it in the view blade and the result is this: [{"monto":"44"},{"monto":"0"},{"monto":"5640"},{"monto":"0"},{"monto":"0"},{"mont...
asked by 27.11.2017 / 17:14