This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
##Author Benedict Asamoah | |
function generateTransactionID ($data){ | |
## Get passed card information to string | |
$string = $data; | |
## Create an array | |
$store = array(); | |
## create a loop that runs four times | |
for ($x = 0; $x <= 4; $x++) { | |
## Get random positions each time the loop is runned |