Posts by Boi Programador • 346 points
8 posts
-
0
votes1
answer60
viewsQ: HTML table inside another table in a foreach in PHP
I wonder if it is possible to Add a Table HTML within another table in a foreach. Explanation why I need this: I have the budgets in the database and each budget can have many composition items. I…
-
2
votes1
answer88
viewsA: What is the meaning of the multiplication operator’s declaration twice?
Works as an operator Exponential The exponential operator is used when we want to raise some value to power, this operator is represented in PHP by ( * * ) (Two Asterisk). The Exponential Operator…
-
5
votes1
answer198
viewsA: How to show all the contents of a variable using var_dump?
Is there anything I can do to visualize the rest of this string? Yes, there is. You can configure this in your php.ini adding/changing this line: xdebug.var_display_max_depth=-1 Or add this to the…
-
0
votes1
answer182
viewsA: Mouse problems Hover in css
There is no mouseover in the CSS. So the block below is wrong. a.loja:mouseover .descri{ display: block; } Try it like this, change it :mouseover for :Hover: a.loja:hover .descri{ display: block; }…
-
0
votes1
answer90
viewsQ: Ternary condition in Django Templates
I wish I could do that: {% if is_premium > 0 %} <span class="text-success d-block">Você é Premium e possui {{ is_premium }} {{ ' dias' if is_premium > 1 else ' dia' }}</span> {%…
-
4
votes1
answer79
viewsQ: Change another selection option when a selection is triggered, using jquery-Chosen
I want to change another selection when a selection is triggered. I am using Jquery Chosen. Example with pure Jquery here At the moment I’ve done: <form method="post" id="form"> <div…
-
0
votes1
answer57
viewsQ: IF and ELSE check is not working
Guys, I’m trying to do the following, when you click on the button it checks if the fields are empty, if it’s all filled it hides the form, the problem it’s not falling into else of verification: if…
jqueryasked Boi Programador 346 -
7
votes3
answers557
viewsQ: Continue loop if input is’S'
I tried to make a loop, that while the input is’S' it comes back and prompts again (it’s just for me to learn), if the input is 'N' it comes out of the loop, but is in loop infinite. continuar =…