Page is a not externally linkable
- Code, Content, and Presentation
-- PHP Server Side Scripting
---- Add +1 to the $num?


PokeTech - 7:22 pm on Feb 2, 2008 (gmt 0)


I need a code that adds +1 to a number. But I need that number thats being added to be stored some how so that at every time someone presses the "submit" button it will add +1 to the current number.

So if the number is 50 it will add 1 to that equaling 51 and then if another person does presses the submit button it goes from 51 to 52.

Is there anyway to do this? and if so can you show me how?


Thread source:: http://www.webmasterworld.com/php/3564890.htm
Brought to you by WebmasterWorld: http://www.webmasterworld.com