Posts by Ramon Saldanha • 149 points
7 posts
-
0
votes0
answers15
viewsQ: Switch Alternative to php
Alternative to switch in php 7 switch($array["status"]) { case '1': $status = "Aguardando pagamento"; break; case '2': $status = "Em análise"; break; case '3': $status = "Paga"; break; case "4":…
phpasked Ramon Saldanha 149 -
0
votes0
answers51
viewsQ: return javascript asynchronous method values
Hello I have a problem here, I need to use the Node request module, twice. one to take the link from one page and the other to take the content of a post. in this way, I have the following problem:…
-
2
votes1
answer371
viewsQ: Ajax Reload div
I have a page that displays with Ajax database information inside the div #addremoveprod, so far all right, everything is being printed perfectly. I have also in a part of the code a function of…
-
3
votes1
answer83
viewsQ: Integer division
hello, I want to do a calculation like: I want to distribute for example 6 integers in another 5 numbers starting at 0 with something like this: 2 1 1 1 or for example 3 integers in 5 numbers…
phpasked Ramon Saldanha 149 -
6
votes2
answers286
viewsQ: Return with all foreach lines
I have the following script: <?php $recursos_data = array( array( "id" => "0", "recurso_nome" => "madeira", "producao" => "%produz%", "estoque" => "200" ), array( "id" => "1",…
-
1
votes1
answer443
viewsQ: Div dinamica + php
I need a table that is updated every instant automatically, like the facebook timeline that updates itself. I think in jquery you can do this, someone has some idea?
-
2
votes4
answers1111
viewsA: How to delete the database registration if the user does not activate it by email within "X" hours?
Very simple, you will have to create an automation script that will be included on a main page of your site, every time someone enters, will run this script. Look at this, you have to do a field in…