pls help
how to get the last digit from random number example if
1257 - output 7 100 - output 0 15 - output 5 1 - output 1 , etc
can anyone help me what php function could i use?
Hi,
use e.g. substr. Something like
$lastdigit = $num%10;
should work, too.
Thomas