how to hide the true value of a hyperlink?

I know passing variable is somehow unreliable when it comes in security reason. I want to know how to hide the true value of a hyperlink that is passing a value through variables.

example:

<a href="<?php echo "delete.php?id=$value"; ?>">delete</a>

Please someone correct me if im wrong but i dont think you can.

if you are just passing an id is not really a big matter because it just an id, eg:: delete record where id = 7.

however if the id is really really important to not show it to the public don’t pass it using GET instead use a session to store it and when you need it get from the session

Sponsor our Newsletter | Privacy Policy | Terms of Service