Posts by Walison Gomes • 1 point
2 posts
-
-1
votes1
answer106
viewsA: Run a PHP function as an html attribute?
After many attempts, follow the code that solved my problem. With it I can hide or display an html element using a php "IF" as html attr. Remembering that this variable "{{value}}" comes from my…
-
0
votes1
answer106
viewsQ: Run a PHP function as an html attribute?
What I need is this, I have this html code: <div php-if="{{valor}}>0">CONTEUDO QUE SERÁ MOSTRADO DINAMICAMENTE</div> The variable "{{value}}" I can already return dynamically. What I…