Posts by Ricardo • 5 points
3 posts
-
-1
votes0
answers29
viewsQ: SQL, as always bring a value in a query even though the query is null
I have the following select, in it I bring the point of operation on day 1, and the subquery brings the point of dia2. SELECT id_Ponto, (SELECT id_Ponto FROM ponto WHERE cancelado = false AND…
-
-1
votes1
answer23
viewsQ: Return of an AJAX is not returning value in Function
I have a function that executes an AJAX, the AJAX response I return in the 'Return', but when I give a console.log the function returns I get no data. Below is the code. function getListEmployee() {…
-
0
votes1
answer36
viewsQ: Error using . length in AJAX response
I have the following ajax. var ajax = new XMLHttpRequest(); ajax.open("GET", 'http://localhost/erp/api/v1/itens.php'); ajax.responseType = "json"; ajax.send();…