I want to have a X inside a button just like the X in the chrome tabs. So I have 4 buttons which will give me a POST when I click on 1 of them. Now I want to have a X icon inside that button to redirect to a different page/run a function
I tried to put a href inside the button but it doesn't work... the X will be blue like a href, but when i click on it, it will only click the button.
<button class="btn btn-default" style="background-color: #<?php echo $fontColor; ?>;width:240px;white-space:normal" type="submit" name="actief">
<i class="fa fa-user fa-fw"></i>
<?php
echo $result['FIRST_NAME'], " ".$result['LAST_NAME'];
echo $icon;
?>
</button>