View Single Post
  #6 (permalink)  
Old 12-17-03, 08:38 AM
steve steve is offline
Newbie Coder
 
Join Date: Jun 2003
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
hmm you could create a function

ie
PHP Code:

<?

function add1($num){
$num++;
return 
$num;
}
$numb 1;
?>
Then whenever you want to call another number you

PHP Code:

<?

$numb 
add1($numb);
echo 
$numb;
 
?>
You can make that a bit shorter but it not that long anyway
__________________
GamesValley
Your Home For Games
http://www.gamesvalley.net/
Reply With Quote