All Questions

1
answer

Print Cards with v-for - Vue.js

I am extracting information from axios and I am printing it from my v-for and printing my cards but it does it in a way that I do not understand why. Right now I have my cards. The information is already extracted. I'm supposed to print li...
asked on 30.03.2018 / 10:24
1
answer

Operation of -real_escape_string

I have a login, that when I enter a username and password in a form and press "enter" and I have established the connection to the database, use the following line of code: $pass = $mysqli->real_escape_string($_POST['txtpass']); I am inf...
asked on 29.03.2018 / 11:28
2
answers

Why do I get undefined in an array?

When I want to show the two plants that I have created on the floor I get the following:    We are in the plant: undefined door undefined and the owner is undefined Here I have my code: plantas = Array(); fun...
asked on 17.01.2017 / 18:51
2
answers

How to verify if value exists using Jquery and if so, avoid sending the record?

I got some JQuery codes to verify if any value ( cedula in this case) exists in the database. The system works well, it shows when the card value exists or not, I would like now to prevent the form from being sent, because although it says t...
asked on 25.01.2017 / 22:55
1
answer

foreach with php and poo

I'm learning PHP with POO and I wanted to print an array with foreach with an object and it worked for me: class padre { function __construct() { $nombres = ["Perengano", "sutano", "chilindrina"]; foreach ($nombres as...
asked on 28.03.2018 / 05:13
2
answers

How to join in a constructor three constructors with different signatures?

I have three constructors of a simple class A with different signatures but I wanted to make a single constructor that brings together the three constructors: using namespace std ; class A { private : int x, y; public : A();...
asked on 08.02.2017 / 12:49
2
answers

Hablitar and dehablilitar all the TextBox of a page

I have a page aspx where I have more than 200 TextBox , it's like a Form, then you have two options when you enter the page one of only "Show" and the other is "Edit", the options are enabled with two CheckBox : protected vo...
asked on 31.01.2017 / 17:56
2
answers

Save images in cache memory so as not to download them again

Good morning. I have a series of images in my Activity , every time I enter this Activity download the images, for what I consider that this "wrong", I was reading about the consumption of resources of the images but I am not v...
asked on 17.01.2017 / 14:46
1
answer

How to use openweathermap

Hello friends, I want to integrate in my App a window where I show a list of the weather forecast of a city, and I want it to be more or less like this I have researched and found that there is a service called Openweathermap, I have regist...
asked on 08.01.2017 / 19:51
2
answers

Why does not the layout change (Portrait / Landscape) when the device is rotated?

I have implemented tabs with the viewpager, depending on the orientation of the screen (Portrait / Landscape) the layout assigned for each view must be changed, but it does not change, it remains with the layout that started the activity, some i...
asked on 11.01.2017 / 23:45