All Questions

3
answers

JSON.parse error

I have a JSON like this: {"id":"53530","name":"Bifurcadores <ul class=\'menu\' style=\'display:none\' id=\'ul53530\'> <li onclick=\'pinchar(,\"Todo\")\'> <a href=\'#\'>LANZAR PRUEBAS TOTAL <\/a><\/li>", "data...
asked on 11.10.2016 / 10:45
4
answers

JSON encode with SQL and PHP query

Good morning, everyone. This question I have already seen in several issues but I do not understand very well what is the problem of why it does not enter the results in an array. I know that the query returns results. I leave code: functio...
asked on 11.10.2016 / 15:36
1
answer

how to get the item from a list in java and pass it to a variable?

I have the following code, which sends a query that returns a list, within that list there is an element called getHoraEntrada, which comes in Date format, and I in my view just want to show the time, so what I did was create a variable String...
asked on 21.02.2018 / 23:19
1
answer

How can I pass a string of bytes to PDF with Python?

I am connecting to an API in which you return a PDF in bytes format and I want to know if there is any simple way to format it in PDF to be able to download it. My problem is that it returns a string of data in this format: b'%PDF-1.7 \n%\x...
asked on 22.02.2018 / 08:38
2
answers

Obtain object with Linq with its references

I have this query in LinQ, I filled the object with the query but it does not complete an object variable. The model of Retención has a variable Empresa that is another model, and is the one that does not fill, remains null: p...
asked on 21.02.2018 / 00:35
2
answers

When an error occurs creating the user the list of errors is not displayed

Something is wrong with the registration of new users. Here I have an attempt to create a user in which I have incorrectly entered the password confirmation. That should return me to the creator of the new user with a message in red indica...
asked on 22.02.2018 / 20:20
2
answers

How to compile pug (before jade) to php with gulp?

I am working on a project that is necessary to work with .php, I have always worked with .html, but now I have to work with .php, I work with pug before called jade and I compile it by means of tasks in gulp, but by default compiled in html, but...
asked on 14.10.2016 / 04:40
2
answers

Mens. INSERT SQL error

I have configured a user with INSERT permission for Customers table: GRANT INSERT ON CLIENTS TO userX executing the query: return the following notice: Mens. 102, Level 15, State 1, Line 1 Incorrect syntax near ')'. (1 affecte...
asked on 29.08.2016 / 13:57
3
answers

Apply class when firing mouseenter individually

I am trying to make scores with stars and that when passing over each one, a css class is applied. The fact is that it applies to all the stars at once and my intention is that it only applies when you pass the mouse over from beginning to end a...
asked on 26.02.2018 / 13:31
1
answer

Add a class to elements except the last

I have divs that are generated dynamically with a button. You can now generate them with the following script: var contenedor = $(".inputs"); $(".agregar").click(function(e){ add_control(contenedor); $(".agregar, .nth").hid...
asked on 31.08.2016 / 13:00