hi,

i need help how to decrease by 1 in Number for example 100 - 1 = 99

my code in php:

PHP Code:
$credits=count($credits)-1
is this correct? assuming $credits got 100 then -1 so 99 and so on...

regards,