Quote:
Today at 06:50 PM Xenon said this in Post #4
no need for it to be a function, but if you call it from within a function you need to make vars global,n if you don't call it from within a function you also don't need to make the var global
|
Well, it's actually an external script referenced in phpinclude and is called using the variable defined in phpinclude. I put the variable (in this case $forum_border) in formbit 1. All it needs to do is keep track of how many times it is called and based on that decides what action to take and then adds one to $border_count. So basically it is a variable within the external script that needs to be global. Maybe you have an example that spells it out for a php-impared man such as myself?