Forum Moderators: coopster
You would need to pass along a parameter in the URI or store the variable in a session.
BTW var should read $var. I´m not sure whether var is a reserved word in PHP. I believe not, I´m probably just confusing JavaScript and PHP here.
Andreas