[PHP] problem in my php code

2004-11-18 Thread Hongwei Li
Hi, I have a problem in my php code. I simplify the code as the 4 pieces below and hope somebody can help me to fix the problem. 1. tsstart.php: -- this is the start point to be browsed ?php include tsdata.php; include tsshow.php; ? 2. tsdata.php: -- to get data, here I set it as a 2-d array

Re: [PHP] problem in my php code

2004-11-18 Thread Richard Davey
Hello Hongwei, Thursday, November 18, 2004, 4:46:00 PM, you wrote: HL no values are displayed. Apparently, $obj is not passed to HL tsnext.php and tsshow.php (the second time), but $ind is. What is HL wrong in the above codes? Can somebody help me? Unless there was some code missed out, I

Re: [PHP] problem in my php code

2004-11-18 Thread Philip Thompson
On Nov 18, 2004, at 10:46 AM, Hongwei Li wrote: Hi, I have a problem in my php code. I simplify the code as the 4 pieces below and hope somebody can help me to fix the problem. [snip] no values are displayed. Apparently, $obj is not passed to tsnext.php and tsshow.php (the second time

Re[2]: [PHP] problem in my php code

2004-11-18 Thread Richard Davey
Hello Philip, Thursday, November 18, 2004, 6:52:19 PM, you wrote: PT Someone correct me if I'm wrong on this, but globals are only PT global to that specific file. I'm being pedantic here, but they're not really global to *files*, more to sessions (not in the $_SESSION sense of course). All I'm