Posts by Jose JR • 11 points
5 posts
-
-1
votes1
answer25
viewsQ: Redirect restaurants in Ajax
How can I redirect to any page after the function is successfully performed? Script below: I’m a bit of a layman with Javascript. Thank you! function alterarquantidade(id,tipo) { var quantidadeInput…
javascriptasked Jose JR 11 -
1
votes1
answer1428
viewsQ: Decrypt password PASSWORD_HASH
Good afternoon! Folks, I need to display to the customer the password he typed and not 60 Encrypted characters. How can I do this procedure? Below is the password recovery code I created. However,…
-
-1
votes1
answer30
viewsA: Help Select with prepare
The problem was that I was not shown php the result if it was positive or negative. Correct code below: <?php session_start(); include("conexao.php"); $consulta = $conexao->prepare("SELECT *…
-
-2
votes1
answer30
viewsQ: Help Select with prepare
I’m trying to make a select using the prepare. However, it simply cannot do this select and returns me that the user or password is wrong. Code below: <?php session_start();…
-
-1
votes1
answer38
viewsQ: Sum of two values
I have two values: Minuto1 = 00:00:00 e Minuto2 = 11:30:00 I’m using the substr to ignore the : and make the sum. See the example: $minuto1 = substr("00:00:00",0,2)*60 + substr("00:00:00",3,2);…