Posts by Marcelo Martins • 96 points
5 posts
-
1
votes2
answers202
viewsA: Ngshow two parameters - Angularjs
The ng-show expects a boolean value, ie, true or false then you should treat it as a logical expression: <div class="col-sm-3 form-group" ng-show="!objParametros.tipo ||…
-
1
votes2
answers431
viewsA: Enable and disable php button
There are many questions in a single question, so let’s separate them into parts ("Divide and Conquer"): As for the question of activating the button, you can do it as follows: //para desabilitar o…
-
0
votes1
answer1087
viewsA: How do I make the scroll bar work on my entire Chrome page
Add a style in the element you want to have scroll bar: style="overflow: auto" Example: <html> <head> ... </head> <body style="overflow: auto"> ... </body> <html>…
htmlanswered Marcelo Martins 96 -
2
votes3
answers73
viewsA: How to close a Session in PHP
Try to make some changes: On your "App Help Desk" page remove the excerpt: session_destroy(); header('Location: index.php'); Create a page with the name: logoff.php and paste the code below in…
phpanswered Marcelo Martins 96 -
4
votes3
answers73
viewsA: How to close a Session in PHP
To log out you should use this in your PHP code. session_destroy(); If you want to create a session you can do so in your PHP code: session_start(); $_SESSION['usuario'] = "User1"; If you want to…
phpanswered Marcelo Martins 96