PDA

View Full Version : Add plus one to a recordset value


woofy
11-29-2009, 02:05 PM
I would like to have a value of plus one added to a field on a recordset when displayed on my registration page. For example if there are 50 users I would like to display the number 51. Is there a function that does this?

edbr
11-30-2009, 09:24 AM
in a rush but hopefully this will help ypu work it out
$test=7;
echo $test;
$test =$test+1;
echo $test; // returns 8