how to hide html url, but need to pass the value from URL
am using href link, so there is no chance to use post method, now i need to hide the href url,
because am passing a value through it, and taking the value from url in inner page, like example

    <button onClick="location.href = 'sbsm.php?val=400'">Pay Now</button>
    <button onClick="location.href = 'sbsm.php?val=600'">Pay Now</button>

now the problem is a user can change the value 400(package1), 600(package2) according to his choice in the URL bar, i want to stop this. How do i prevent this. any suggestion??
how to hide html url, but need to pass the value from URL
===

am using href link, so there is no chance to use post method, now i need to hide the href url,
because am passing a value through it, and taking the value from url in inner page, like example

    <button onClick="location.href = 'sbsm.php?val=400'">Pay Now</button>
    <button onClick="location.href = 'sbsm.php?val=600'">Pay Now</button>

now the problem is a user can change the value 400(package1), 600(package2) according to his choice in the URL bar, i want to stop this. How do i prevent this. any suggestion??