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


henry0 - 7:48 pm on Feb 2, 2008 (gmt 0)


Example:
$my_val=1;
// let's add 1
// new val
echo"$my_val= " .++$my_val;
// should be 2
search: php incrementing
There is quite a few ways to get that result


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