Posts by Andy lima • 19 points
2 posts
-
-1
votes2
answers66
viewsQ: I need to find out who’s sequence and who’s not, but my logic doesn’t work
<?php $a = array(1,2,5,8,9,10,12); $length = count($a); for ($i=0; $i < $length ; $i++) { if (($a[$i+1]-$a[$i]) == 1) { echo " " .$a[$i]." é sucessor"; }else{ echo " " .$a[$i]." não faz parte…
-
0
votes1
answer96
viewsQ: How to clone form in the right place - Javascript
Guys, I used a code to clone a form when the user clicked on the add button, but when he clicked on add, the form clones under Submit. I have no idea what the problem is. Help me find out, pf. var…
javascriptasked Andy lima 19