Posts by dududornelees • 104 points
9 posts
-
1
votes2
answers49
viewsA: Doubt on how to use date object
You are not instantiating the variable to call the object Date(). Like the Date() does not write the months, but returns a numerical value, for example: The month of June is represented by the…
javascriptanswered dududornelees 104 -
-3
votes2
answers37
viewsA: When I tag Row Booststrap I leave a blank
Your question was not very clear, but from what I understand, it is in the alignment of the text. Use the property text-align CSS to align your text as desired. Because of your text "spacing"…
-
2
votes2
answers49
viewsA: SQL - WHERE using 2 conditions and AND as conditional - Answer is not the expected result
You are using the condition AND. That is, you are looking for a result where the Policy_Group_Name equals "M" and equals "N". The correct instruction in this case would be to use the `OR`condition,…
-
0
votes1
answer25
viewsA: How to hide/connect items in the navbar while logged in
Depending on the session (if any), you call a different PHP file in your painel.php. I’ll give names just to illustrate: navbarNaoLogado.php and navbarLogado.php PHP: if(isset($_SESSION['usuario'])…
-
0
votes1
answer35
viewsA: Check PHP session value?
To function as you wish, you simply have to validate if a $_SESSION['senha'] this "arrow" and is equal to "123". PHP: if(isset($_SESSION['senha']) and $_SESSION['senha'] == '123') {…
phpanswered dududornelees 104 -
0
votes1
answer26
viewsA: How to make a css style change via Jquery
HTML <div id="nav" style="height: 150vh; margin-top: 100px;"> <!-- Altura e margem apenas para vizualizar a mudança de cor --> <nav>Abc</nav> </div> jQuery…
jqueryanswered dududornelees 104 -
2
votes1
answer92
viewsA: Dropdown button inside a card does not work (Bootstrap/Angular)
You are using "data-Bs-toggle", which is a Bootstrap 5 attribute. Either you remove the "data-Bs-toggle" and replace it with just "data-toggle", or you migrate the site to Bootstrap 5.
-
-1
votes1
answer31
viewsQ: Local login validation
I need to do a login validation without database, that is, with the arrays I pass, but I don’t know how to check if there is an item inside an array. NOTE: I have tried using the in_array. PHP…
-
0
votes1
answer37
viewsQ: Repeating structure - 10% "every day"
I can’t make a repeating structure. Example of what I want to do: I enter the initial value and enter the percentage I want it to increase for 30 days. Example of starting value: 50. Percentage that…