This is basically not a tutorial. Here is a ready-made code-piece you can use in your program if you need to store credit card numbers in your database while processing it for payments. If you ever need to store credit card numbers in your database, it should be encrypted before inserting in to the database. PHP has a library called Mcrypt which...