I hope to get help on this issue...what am trying to do is that I want to display numbers from database and I want to only show first two digit of the numbers when the page load...

the number will be like this in the database
6703347599578666


So if I display it on the page I want it to hide some digit like this....
67*************

then when the user click a button say BUY, it should load and display the full number like this
6703347599578666

and then I want the number to be remove from the database when the user have paid for it to get it display and have it in user history...

any help in writing or easy to understand PHP code with PDO MYSQL code is welcome....

Thanks.