Posts by I-am Sam • 459 points
12 posts
-
1
votes2
answers87
viewsQ: Multidimensional array list
I have this bond: aaff = [];contador_selecionados=0; $(' .values .layout .acf-input').children('').each(function(index,element){ contador_selecionados++; aaff.push( element.value);…
-
1
votes1
answer150
viewsQ: animate progress bar
I have this progress bar and need to send via javascript : document.querySelector('#progress').style.width = 10%; the value for the css animate : @-moz-keyframes progress { from { } to { width: 80%…
-
2
votes1
answer177
viewsQ: send the javascript variable to php
I have this sum1 variable in javascript and would like to send it to php how can I do this ? JS var sum1 = 0.0; $('.class_nao_pago').each(function() { sum1 += parseFloat($(this).text()); PHP echo…
-
5
votes3
answers596
viewsQ: Round a number to Top 4023.8599999999997€
I have 4023.8599999999997€ to round to 4023.86, tried: Math.round(sum1) but the result was :4024€ I also tried to Math.round(sum1,2) but it did not give. How to do this I’m using Javascript.…
javascriptasked I-am Sam 459 -
0
votes0
answers40
viewsQ: avoid timeout in Swiftmailer
Using swiftmailer and throttler to send emails, the problem is that the browser timeouts because the throttler pauses to keep sending within limits (5 emails per minute), I think the script keeps…
-
7
votes2
answers1573
viewsQ: Show real-time loop result
I’m using a loop to send emails from an array. Every time the loop runs the function sleep(4); is executed. The problem is that php output only happens at the end, ie the lines echo…
-
0
votes0
answers41
viewsQ: pause of 2 seconds when sending email
The duplicate question showed how to send and not be identified as spam.. now would like to do a Sleep between submissions ... I use swiftmailer to send emails and would like to have a delay in…
-
4
votes2
answers2985
viewsQ: dompdf php to pdf
I’m using the DomPDF to generate the pdf. The point is that I can’t convert my html to pdf. My html is generated by several lines of php with variables and etc... I already tried passing a variable…
-
0
votes1
answer103
viewsQ: 2-second pause between emails
I have the Swiftmailer library sending the emails correctly, but I would like to pause 2 seconds between submissions of the various emails in my array. I tried to use the sleep(2) in the loop, but…
-
2
votes2
answers762
viewsQ: How to transfer a full array of the form to another PHP file?
I have this form and I want to pass the array (as is) $array_dos_pagamentos to the recive.php but I can only pass unique values. How can I pass the full array? <form…
-
7
votes1
answer443
viewsQ: How do I send 200 emails (not a newsletter) without running the risk of going to spam list?
Every month we send 200/300 handwritten emails with variable text to the month’s customers (not a newsletter). Via PHP I can make the text dynamic, and send automatically, but the problem is sending…
-
0
votes1
answer195
viewsQ: add to array after loop
I have some loops in my php and want to get an array like this: Array ( [nome1] => valor [nome2] => valor ) inside a loop I tried : $array_dos_pagamentos[nome] = $variavelnome; and another…