Posts by Dasaiev França Castro • 56 points
2 posts
-
3
votes6
answers47809
viewsA: How to search for a particular object within an array?
Hello, I’d do it this way function procurarIndice(arraySearch, atributo, valor){ var cont=0; var indices=[]; for(var i in arraySearch){ var row = arraySearch[i]; if(row[atributo]==valor){…
-
1
votes2
answers49
viewsA: Comparing variables in a query
Use the function isset() and a if ternary. $variavel = (isset($_POST["variavel"])?$_POST["variavel"]:"";