0
I wonder if it is possible to make the button appear only if the parameter is true.
Through the URL comes the parameter ../usuario?id=1¶metro=1
I tried that way but I couldn’t
<?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>
}
?>
So the button would only appear if the ($parametro == 1)
. It is possible to do this with the button ?
Thanks for the tip!!!!!!
– Robson Freitas