All Questions

2
answers

Difference between new Array () in ES5 and Array.of () in ES6 in JavaScript

When we use the Constructor new Array() in ES5 to build a new fix we do the following: EXAMPLE 1 let elementos = new Array(2); console.log(elementos[0]); console.log(elementos[1]); //ambos console darán undefined Howeve...
asked on 30.09.2018 / 04:01
3
answers

How to get the number of times a word is repeated in MYSQL

How can I get the number of times the word "false" is repeated, in a column from mysql. example: id | read | ------------- 1 | false | ------------- 2 | true | ------------- 3 | false | ------------- 4 | false | -------------...
asked on 15.09.2018 / 21:11
2
answers

know the auto_increment of a MySQL table after deleting the last ID's?

Friends, I come to you to know who tells me how to know the auto_increment of a table. Suppose that id_campo has 30 values, but after 6 rows is deleted, it would be in id_campo (24) , but the auto_increment is at 31. Is there...
asked on 24.10.2017 / 21:00
2
answers

Problem with COUNT (*) Does not return data (PHP AND MYSQL) [closed]

I try to count the amount of invoices in the database: //conexion: $con=@mysqli_connect(DB_HOST, DB_USER, DB_PASS, DB_NAME); if(!$con){ die("imposible conectarse: ".mysqli_error($con)); } if (@mysqli_connect_errno()) {...
asked on 27.04.2018 / 17:38
1
answer

Launch program using cmd from Java

I want to launch a program from the execution of my program in java. The command I use in the cmd would be changing user, password and url: "start / B / D" c: \ Program Files (x86) \ Common Files \ Juniper Networks \ Integration "pulselaunche...
asked on 30.10.2017 / 15:28
1
answer

what is $ for? in JavaScript?

I've seen this% $ much in JavaScript libraries, for example: $.fn._fadeIn = $.fn.fadeIn;     
asked on 19.10.2017 / 20:15
4
answers

How can I make the first letters of the capitalized words appear?

The fact is that I have this code and it only converts the first letter. The fact is that I want you to convert the first letters of each word and I do not know how to do it. document.write("Nombre y apellidos<input type='text' id='dato...
asked on 21.10.2017 / 20:49
3
answers

Nest selectors in CSS

Good, a doubt that I have. Is it possible, using CSS, to nest selectors? In my project, I have several styles that I have dependent on some selectors that are common in different places, for example: .menu1 { declaracion menu1 ... } .menu1...
asked on 01.02.2018 / 16:48
2
answers

Problem with query like

Good morning, I have this query that is like a search engine, only for products where the brand is "strong" .. in the parameter $ word, it can only bring a description of the product or code. When I send a description of the product, the sear...
asked on 27.12.2017 / 14:03
4
answers

How to decompose a return?

Suppose that the following return came from a function: return { x: 199, y: 200 } Eye: I can not change the return itself. How can I then from where I receive the return modify it? That is, for example: I got x:...
asked on 24.07.2017 / 04:20