RE: [PHP] global/local var in a function

2002-01-10 Thread Martin Towell
change for(i=0;imailto:[EMAIL PROTECTED]] Sent: Thursday, January 10, 2002 10:44 PM To: [EMAIL PROTECTED] Subject: [PHP] global/local var in a function Hi, I have a little problem with a function. It calls him self and the var i is lost! after the call! can anybody help me? (it&#

RE: [PHP] global/local var in a function

2002-01-10 Thread Niklas Lampén
changed the line below for(i = $GLOBALS[i];imailto:[EMAIL PROTECTED]] Sent: 10. tammikuuta 2002 13:44 To: [EMAIL PROTECTED] Subject: [PHP] global/local var in a function Hi, I have a little problem with a function. It calls him self and the var i is lost! after the call! can anybody help me?

[PHP] global/local var in a function

2002-01-10 Thread Alex Elderson
Hi, I have a little problem with a function. It calls him self and the var i is lost! after the call! can anybody help me? (it's javascript) function change_check_all(tree_item) { a = document.all[tree_item + "_check"]; b = document.all[tree_item + "_count"]; for(i=0;ihttp://www.p