Posts by Gustavo Samuel Marcolin • 103 points
13 posts
-
0
votes1
answer20
viewsA: check date up to 2 months to current
It was simpler than it looked, just get on your nerves and think... $mes_atual = date('m'); $mes_atual_mais_um = date("m", strtotime("+1 month")); $mes_gravado = $data_itl7->ultimo_faturamento;…
phpanswered Gustavo Samuel Marcolin 103 -
0
votes1
answer20
viewsQ: check date up to 2 months to current
I am implementing a financial system and I need to limit the generation of revenues for a maximum of 2 months. but to no avail... <?php $mes_seguinte2 = str_replace('0', '', date('m',…
phpasked Gustavo Samuel Marcolin 103 -
0
votes2
answers73
viewsQ: Sum total of a loop
I’m trying to make a total sum of a "for" but it’s all too crazy or "zeroed"... <?php for ($i=0; $i < count($data); $i++) { $total_receitas_recebidas = 0; $total_receitas_a_receber = 0;…
-
1
votes1
answer1423
viewsQ: Bootstrap 4 Modal Multiple
I’m making a page that uses modal on top of modal (click the button, open modal and when you click the button inside that modal opens another). I was doing this with bootstrap 3.3.7, BUT now I…
-
1
votes2
answers179
viewsA: Ajax return a results loop
@Andreicoelho managed to resolve the issue was with several details missing <script type="text/javascript"> function pegarIdDaReceitaEditar(id){ var idReceita = id; alert(idReceita); $.ajax({…
-
2
votes2
answers179
viewsQ: Ajax return a results loop
I am making a financial system with ajax, both revenues and expenses have "descriptions" and to edit the information of a recipe I call her information but I have to pull the descriptions tbm.…
-
0
votes3
answers5951
viewsQ: Add inputs with jquery and real time
I need a jquery script to do the following: TOTAL = Fine + Interest - Discount. calculating even if one of the 3 inputs is not completed. I found some examples on the internet, but everyone needs an…
-
0
votes1
answer135
viewsA: When you click on the data list run the specific ajax function
I managed to solve the problem with just one .bind('input', function... :D
-
0
votes1
answer135
viewsQ: When you click on the data list run the specific ajax function
I need that when it is "clicked" in the option of the datalist "cities" execute the ajax to load the neighborhoods, the way this has to be pressed "enter" $(function(){ $(".carregando").hide();…
-
1
votes1
answer1004
viewsQ: html contains invalid utf-8 Character(s) MPDF 6.0
I have a text in blob in the database with the accentuation and such.. when I run it through mpdf IF is not placed utf-8_encode in the read variable returns me this error. I asked the question…
-
0
votes2
answers4168
viewsA: 'php' not recognized as an internal or external command
cool head thinks better, I was with a plugin in sublime text 3 'PHP Syntax Checker' that had been installed a few days ago and did not remember. I removed it and the error nay reappeared.…
-
-1
votes2
answers4168
viewsQ: 'php' not recognized as an internal or external command
I’m facing this mistake when saving the file…
-
3
votes1
answer708
viewsQ: Calculate a date from an initial date and a deadline
I need that when selecting a start date and a period (in months) the script calculates in months the end date. Detail: when clicking outside the period field already do all the calculation…
javascriptasked Gustavo Samuel Marcolin 103