Posts by LEANDRO DA SILVA • 121 points
13 posts
-
1
votes2
answers147
viewsA: query in PHP is empty but in SQL Server it works
Good afternoon, I managed to solve as follows, inside the Procedure SET NOCOUNT ON; after Begin instead of putting before the exec command) I could put the sql code here but there are more than 240…
-
0
votes0
answers140
viewsQ: Call to a Member Function result() on bool
I’m trying to get results from a Stored Procedure in the CodeIgniter, in the bank brings the result normally but in the CodeIgniter brings that mistake: in my model is like this: public function…
-
1
votes2
answers147
viewsQ: query in PHP is empty but in SQL Server it works
Good afternoon, I have a procedure to run on sql server, if I run directly on SQL it runs normally, returning me the expected line as in the image below: but when I run codeIgniter 3 (php) it…
-
1
votes1
answer32
viewsQ: Group mysql results
Good evening, I need to make a query in the table below: But bring me the result of how many type = E , type = S grouped by month, this result I will play in a chart that will display by month how…
-
0
votes1
answer27
viewsA: Button does not submit to the form within a modal
I found the solution, had a javascript that for some reason did not let submit $('#modalArea').on('click', function(e) { e.preventDefault(); $('#modalArea #id').val(''); $('#modalArea…
-
0
votes1
answer27
viewsQ: Button does not submit to the form within a modal
Good evening, I have a problem submitting a form, I am using codeIgniter 3 and I have the following screen: <!-- modal --> <div class="modal fade" id="modalArea" tabindex="-1"…
-
1
votes1
answer93
viewsQ: Sorting objects in Javascript
Good evening, I’m having a difficult to sort array in javascript, the problem is that I need to sort it first by number of characters, ( Words with more characters appears first), I’ve done that,…
-
0
votes0
answers137
viewsQ: POST method does not work properly Node.js and express
good evening, by way of tests I created a small API to understand its functioning, however when running the POST method I found that it only returns me the empty keys: [ {} ] The correct thing would…
-
2
votes1
answer41
viewsQ: How to wait for the previous function to create the component on the screen and then take the data from that component (javascript)
Good morning, I’m having trouble getting the values of a select Box from my screen, the situation is as follows, I create the page normally with the default values in select Box ex: Carrying...…
-
0
votes1
answer132
viewsQ: How to recover firebase keys? Javascript
Good evening, I have the following data structure: I need to store all these Ids that are children of visits in an array to later create a loop to search for the data that each of these Ids has, but…
-
1
votes1
answer55
viewsA: How do I make a multidimensional array return by ajax
I managed to solve by sending a PHP matrix to ajax like this: //lista de arrays $diasCorridos = array('01','02','03','04','05','06'); $metaRealizada = array(500,1000,1500,2000,2500,2000);…
-
0
votes1
answer55
viewsQ: How do I make a multidimensional array return by ajax
good morning, I have the following code (this working), it returns me to Ajax an array with integers. <?php date_default_timezone_set('America/Sao_Paulo'); require_once '../conexao/conexao.php';…
-
-1
votes1
answer184
viewsQ: How to access and change objects within an XML file by Activity?
good evening, I’m having a hard time changing the components of an XML file, when I open the Drawer menu I click on the "tracking" button it opens the xml fragment_tracking.xml, but I can’t access…