In your function, use the variable incrementation syntax (++). Example: $myVariable++;
fantastic, thanks so much. You get credit in script.