Hi All,
Fairly new to PHP but enjoying the learning!!
Im have a question,
I've generated a random 3 digit number using the following
function makeRandomCode() {
srand((double)microtime()*1000000);
rand(0,100);
}
Im trying to add the generated output to a database, i tried using the following but to no luck.
$randc = makeRandomCode();
Could someone please poin me in the right direction.