Questions tagged as 'laravel'

2
answers

Laravel and Ajax to obtain data

I hope to explain my best so that you can give me a little help: S I have the following JavaScript code: $.ajax({ url: "{{ route('comprobar') }}", method: 'get', dataType: 'json', success: function(respuesta) { console.log("información")...
asked by 10.11.2018 / 17:20
1
answer

Get data and insert

Maybe what you ask is very basic, but I'm getting involved in this: I have a list of Ejm products What I need is to know if this product exists in my BDD and if I can enter it, they will tell me that is easy, but my way of inserting is...
asked by 09.11.2018 / 15:47
1
answer

Method of a resource route does not receive argument in laravel 5.7

I am deleting and editing in a simple crud with laravel 5.7 but when using a resource path with its respective edit and delete methods (edit and destroy respectively), the method in question does not receive the id argument that I am passing: co...
asked by 28.11.2018 / 19:18
1
answer

General question regarding login Laravel / Android

I have a question. I'm doing a section of login in laravel and at the same time this database is connected with an application of android , the problem is when I create a user in Laravel obviously encrypts my password, and I can...
asked by 12.10.2018 / 23:34
1
answer

Alias in virtual host in project Xampp in Laravel 5.6

I currently have a project created in Laravel 5.6, create a virtual host to be able to access using the url proyecto.com:8003 . Apparently to be able to access my project I must place the port at the end of the URL because it is not the de...
asked by 11.10.2018 / 19:11
1
answer

Print laravel inquiries

I'm doing a project, I'm new to php and laravel, what I want to do is when I ask a question to be able to print separately already generating a pdf report or opening a view with that data, I have tried everything and I can not . I share the code...
asked by 06.10.2018 / 01:41
2
answers

Related Eloquent query

Hello, I'm trying to get the data of a 'client' I have 3 Tables |Cliente|Cliente_servicio|Servicios In the client table, I have a client's data In the Customer_Service table I have the IDcliente, IDservicio, Description in the Serv...
asked by 08.10.2018 / 08:21
0
answers

Laravel Undefined property: stdClass :: multimedia

I have a query, I have an error when returning a foreign key in the view. Controller (the function I'm using) public function busqueda() { $user = Auth::user(); $propiedad = DB::table('propiedad') ->join ('multimedia', 'm...
asked by 14.11.2018 / 21:49
2
answers

Laravel nested queries, how to query three tables

I have three related tables like this: Table One related from one to many with Table2, Table2 related from one to many with TableTres. How can I make a data query from Table Three with a condition to Table1. I'm really new at Laravel and I do...
asked by 09.10.2018 / 08:40
0
answers

Create a dynamic selection in laravel 5.7 (country - city) [closed]

hi esoty just starting with laravel I have two tables country and city related correctly, I want to create a select in my form that the country select me shows the cities that have associated in another select. thank you very much     
asked by 09.10.2018 / 13:14