All Questions

1
answer

Data is not saved correctly in class object in PHP POO

I hope you can help me or give me a constructive criticism, or guide me I have a problem when assigning attributes to a class object, in the following images. I show a little. This is my Car class, with the set and get methods Now th...
asked on 04.09.2018 / 20:09
1
answer

How to call a javascript function

I have the following function. function readURL(input) { if (input.files && input.files[0]) { var reader = new FileReader(); reader.onload = function (e) { $('#preview').attr('src', e.target.result); };...
asked on 29.08.2018 / 07:00
1
answer

Filter by fields of the same model

I need to know how I can filter in a model that is an Invoice where I have two fields to pay and another that is paid, I have to do a filter to get the bills that have different amounts than paid to know which of the bills are unpaid. class Fa...
asked on 29.08.2018 / 13:16
2
answers

In which cases the IMEI of a mobile device is not available?

I have an application that needs to download data, for that the IMEI of the device has been previously registered in the base, the problem has worked well, now that I use a device with API 27 the IMEI returns it to me null. public String getI...
asked on 30.08.2018 / 23:04
1
answer

Select and then Insert

I need to do a procedure stored in MySQL: I have a select where I rescue data: select columna1, columna1, columna1, columna1, columna1 from TB1 and these data taken I need to pass them to a new table ( TB2 ): Talves is as simple...
asked on 12.09.2018 / 16:25
1
answer

Return a list of an object

I have the following model with a method to retrieve a list of data of the same model. public class Totem { public int Id { get; set; } public string Dato1{ get; set; } public string Dato2 { get; set; } public string Dato3 { ge...
asked on 28.08.2018 / 19:25
1
answer

because there is a difference in the size of the images in Chrome and Firefox

because this difference in the images is to say in chrome the image looks deformed while in Firefox it looks like I hope my code to adjust the images is the following: .dark{ display: flex; justify-content:center; align-items: cente...
asked on 25.08.2018 / 21:13
1
answer

I have two WHILE loops and the second one skips

I am trying to make a program for which I need to store different values in two vectors. To read the values I use two equal WHILE loops, but the one from the second vector is skipped. What happens? The final goal is to see if one vector is a...
asked on 12.09.2018 / 08:12
1
answer

Call to undefined function money_format ()

I'm doing my project in php version 7.1.8 in laravel framework but I get this error when I use Call to undefined function App \ Http \ Controllers \ money_format () can someone help me?     
asked on 16.09.2018 / 00:13
2
answers

Problem with mysql and php

I have the following doubt, I am doing a search engine, that I look for in my database a product that contains some letter in its name, I make the query in phpmyadmin and all good, it works for me, the problem comes when I pass by parameter from...
asked on 09.09.2018 / 05:47