All Questions

1
answer

debugging of SQL queries in PHP (var_dump and debugDumpParams)

When we are writing our SQL queries, we may need to check how the dynamic data we are sending is behaving, to validate that the result is expected. EXAMPLE I have the following script to bring all the posts of a certain user working 2 ta...
asked on 03.10.2018 / 01:40
1
answer

Problem with functions and loop for

I can not effectively do that while executing the readSuccessB(evt,file) function, pause the loop and resume right after finishing that function. I have tried callbacks creating variables so that if it is running do not call the func...
asked on 31.12.2017 / 02:43
1
answer

Create a table from a foreach loop with order

I need to create a table where the week numbers are the columns and the employees are the first column, like this: But from an array in php like the following: /** * [$key Año] * [$key2 Semana] * [$key3 Empleado]...
asked on 02.10.2018 / 15:30
1
answer

The property 'json' does not exist in the type 'Object'

I have the following problem    [ts] The 'json' property does not exist in the 'Object' type. any This is the code: postData(credentials,type){ return new Promise((resolve, reject) =>{ let headers = new HttpHeaders(); this....
asked on 30.12.2017 / 05:39
1
answer

Null in SQL query

I'm doing an SQL query but I can not generate it correctly, these are the parameters that filter Area = cbbxArea.Text.Equals("Todas") ? System.Data.SqlTypes.SqlString.Null : cbbxArea.Text; Linea = cbbxLinea.Text.Equals("Todas") ? System.Data.S...
asked on 04.01.2018 / 00:00
1
answer

Create branch from another using commands (git)

Within my project I am doing some tasks in a branch (rama_A), which was branched from the main branch of the project (master). Now I need to create a new branch, which is born from the branch_A (let's branch_A_ramification) How can I creat...
asked on 29.12.2017 / 08:48
1
answer

how to go back to a specific line of the code?

Hi, I'm working on the following menu, in which when option 1 is chosen and the patient identifier that is entered is> 3500, that error will be printed on the screen and a new identifier will be requested again I tried to do it with label and...
asked on 06.01.2018 / 10:33
1
answer

Get file in relative path of runnable jar

I have been trying for hours to read a file that is in the same directory as the executable JAR: My code is: Object obj = parser.parse(new FileReader("configuracion.json")); But I already tried with "./ configuracion.json" "....
asked on 04.01.2018 / 17:07
1
answer

Correctly display characters encoded in style \ xe9 [duplicated]

I have a database in .csv format that I have exported to my MySQL database and whose records I want to visualize in a web using PHP. The problem is that some of the characters are encoded in the .csv file, for example \xe9 that corre...
asked on 29.12.2017 / 00:31
3
answers

Consult 2 tables of 2 databases

How can I consult a table in one database and another table in another database, in sql server that is, I need to consult the company with the 2 databases I was doing it this way but I get error The databases are: Sk_BDDespachos...
asked on 05.01.2018 / 16:47