Setting arrays and array elements as global variables.



Again, i'm kind of a newbie, so bear with me here....

I keep getting a Parse error when I try to execute this statement:

global $product_code[1], $product_code[2], $product_code[3], $quantity[1], $quantity[2], $quantity[3];

All i want to do is set some array elements as global variables so that I can use them inside of a function. Any ideas on what the problem is? thanx...
I answered this question in your other thread. Please do not ever double-post.
Call the cops! :eek:

Sorry, my thoughts were unorganized, and I asked this question without providing any context of my larger situation...It won't happen again....

R.J. :-?