All Questions

3
answers

Change Source to several Labels at the same Time, C #

I want to change the font to labels (Label1 to Label10) at the same time, I explain: I have a Form WindowsForms in which I have a panel within that panel I have added 2 user controls UserControls , within both UserContr...
asked on 19.01.2018 / 21:07
3
answers

What is the difference between using LET instead of VAR in JavaScript? [duplicate]

As the question says, which is more optimal and why?: let carro = "subaru"; var carro = "subaru"     
asked on 19.06.2017 / 16:55
4
answers

Make a program that goes from Int to String

Make a program that goes from int = 123 to string = "123" I did a program that does it with stringstream , but now they ask me to do it without that, with pure cycles, I tried to do it like this: Cout<<"datos: "; C...
asked on 18.04.2017 / 06:55
3
answers

There is some way to load JavaScript before PHP

Before someone throws me around the neck I have to say that I know that PHP is loaded on the server and builds the page, that after this the client loads the resulting HTML with its JavaScript and its events. Having said...
asked on 26.06.2017 / 09:56
3
answers

Difference between undefined and null in JavaScript

What is the difference in JavaScript between a variable undefined and a variable null , how can I know if a variable is null , undefined or both, I would also like to know if they are the same.     
asked on 24.11.2017 / 16:51
4
answers

Is it possible to validate before creating an object in PHP?

I have the following question: is it possible to validate the form of an array before creating an object? I have the following scenario. I am creating an apiRest and the programmer who consumes my API sends me a post with the following JSON:...
asked on 03.04.2018 / 16:42
4
answers

Select two columns with the same name from two different tables

If I have two tables that have a column called direccion , and I want to take only one of them as I do?    Client table: ID, address, level, mail, password, name       Company table: EID, address, name What I want to do is: SELEC...
asked on 12.01.2017 / 17:13
2
answers

Can I create a new Git branch from a previous "commit"?

I am doing some regression tests looking for an error that I introduced in a project, basically cloning the current repository, eliminating x commits and trying to see where it appeared in error ... I wanted to explore other alternatives. T...
asked on 12.10.2017 / 13:35
3
answers

Compare two arrays and save value that is repeated in another array

I am trying to compare 2 arrays ( a and b respectively) and the value of a that is repeated in b that forms another vector. I have put it this way: when I want to compare the values entered in b with a...
asked on 20.06.2018 / 06:00
3
answers

Subtract data from an array from another array- Javascript

I have the following 2 array: Array 1: var datos1=[1,2,3,4,5,6,7]; Array 2: var datos2=[3,5,7]; What I want is to fill a new array where the data that is not present in var datos2 is saved, for example: [1,2,4,6] , I am...
asked on 22.02.2018 / 05:06