Hi! I'm having problems with conditional display.
I want to display a button only if the logged user id (a field on $_SESSION) is the same as the field in the row I'm displaying. This is the code:
<button type="button">[onload;block=button;when [comentarios.usuario_id] = [var._SESSION.usuario_id] ]</button>
|
The button does not appear even if [comentarios.usuario_id] and [var._SESSION.usuario_id] have the same value. Am I missing something?
Thanks!