Posts by Danilo Ramon • 126 points
10 posts
-
1
votes1
answer304
viewsA: Do not allow e-mail registration and or user in Angularjs duplicity
I researched and I found the answer. Help for you. Function has been updated: $scope.verificarDuplicidade = function (email) { for (i in $scope.listagem) { if ($scope.listagem[i].email == email) {…
-
1
votes1
answer36
viewsA: $Session with durability
Complementing the Gerep response: <?php if (isset($_COOKIE['data_acesso'])) { echo 'Você JÁ passou por aqui!'; } else { echo 'Você NUNCA passou por aqui.'; setcookie('data_acesso', date('Y-m-d…
-
0
votes1
answer304
viewsQ: Do not allow e-mail registration and or user in Angularjs duplicity
Please, I can’t finish this simple code... Should return the error "User already registered" or "Email already registered", please help me fix the Function below, I’m a little layman, more I’m…
-
3
votes1
answer70
viewsQ: How to display the error coming from Mysql?
I made the code below, and works perfectly, but in case Mysql returns some error, as I will know? I have no idea, someone can help me? The message should return on alert, but I managed to create the…
-
0
votes2
answers309
viewsA: NG-SHOW in Angularjs after Filter application
Thank you, In the code below it works, but in the PC localhost, error already appears in the console. Error: [$rootScope:infdig]…
-
1
votes2
answers309
viewsQ: NG-SHOW in Angularjs after Filter application
Hello, the code below works 99%, I only need to put ng-show on < H5 >, but I’m not getting it. The criterion: is to display the group name only if the group item exists in the list after the…
-
1
votes2
answers895
viewsA: Know if the date is between two columns of Mysql - Database?
I researched and managed to resolve the issue above in two ways: First Way: SELECT * FROM `ips_bloqueados` WHERE ip = '::1' AND '2015-04-18 14:10:00' >= inicio and '2015-04-18 14:10:00' <= fim…
mysqlanswered Danilo Ramon 126 -
3
votes2
answers895
viewsQ: Know if the date is between two columns of Mysql - Database?
I made the code below and it works, the check indicates whether the date is contained between the two columns and returns the result.: SELECT * FROM `ips_bloqueados` WHERE ip = '::1' AND…
mysqlasked Danilo Ramon 126 -
-2
votes1
answer428
viewsQ: Run File in PHP - Jquery or Javascript
all right? I have no knowledge in Jquery or Javascript, but I know PHP x Mysql well. I would like to know, how to do the following procedure, I hope I can explain. Execute the php file., but this…
-
1
votes1
answer2088
viewsQ: Infinite Loop. How to stop the Loop in a given situation?
I did the implementation of the code below, it rotates the page every X Seconds, but it never stops, it sits in an infinite loop. I would like to stop the code from running when: if (track_click…