Posts by Yitshhaq Fukushima • 56 points
3 posts
-
2
votes1
answer33
viewsA: Calling the active user in a variable
It is necessary to insert/declare session_start() at the beginning of the code, or before any call of the $_SESSION variables: include("../conexao_checkout.php"); session_start(); $usuario =…
phpanswered Yitshhaq Fukushima 56 -
0
votes3
answers90
viewsA: Give form Ubmit with empty field validations
If #btnAdd is a type="submit" form, you can do something like: $(function(){ $('#formAdd').submit(function(e){ var erros = 0; $("#formAdd input").each(function () { $(this).val() == "" ? erros++ :…
-
2
votes2
answers46
viewsA: Know URL read time
Follow an example below: //Registrar tempo inicial: long time_begin = System.currentTimeMillis(); //Declarar URL, e criar objeto do tipo URL: String example_your_URL =…
javaanswered Yitshhaq Fukushima 56