I wonder if it is possible to make the button appear only if the parameter is true.
By the URL comes the parameter ../usuario?id=1¶metro=1
I tried this way but could not.
<?php
$parametro = $_GET['Parametro'];
if ($parametro == 1){
<button type="submit" class="btn btn-info btn-rounded"> <a href="editando_usuario?id=<? echo $_GET['id']?>" style="color: #ffffff"><i class="fa fa-pencil"></i> Editar</a></button>
}
?>
Then, the button would only appear if ($parametro == 1)
. Is it possible to do this with the button?