Thread
:
PHP Number Display Help
View Single Post
#
6
(
permalink
)
12-17-03, 08:38 AM
steve
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/
steve
View Public Profile
Visit steve's homepage!
Find all posts by steve