0

I have this code for my button(PHP):

echo "<a href='inkomend_uitgaand_pp.php?id=" . $productid . "&in=".TRUE. "&uit=".TRUE."'class='btn btn-primary btn-default' disabled>Inkomend/Uitgaand</a>";

But the button is still clickable. How can I make sure that it is not clickable anymore

klaas123
  • 147
  • 1
  • 10

1 Answers1

0

You can't disable a <a> tag, what you can do is remove tag altogether, or the href attribute.

More details here: Disabled href tag

Junior Klawa
  • 259
  • 1
  • 7