Using a simple counter
View Single Post
04-13-2005, 12:22 PM
Join Date: Apr 2005
Actually there is a cool trick in C that should work in PHP...
To toggle between on and off in any situation, you can just do this (if you don't have a counter running)...
if $j equals 1 then it equals 0
if $j equals 0 then it equals 1
Then just check $j to do whatever you want 0 or 1 to represent.
View Public Profile
Send a private message to ShadowWind
Find More Posts by ShadowWind