From hongwei at wustl.edu Fri Jun 5 13:49:03 2015 Content-Type: multipart/mixed; boundary="===============7082935301669163205==" MIME-Version: 1.0 From: Hongwei Li To: users at lists.fedoraproject.org Subject: problem in my php code Date: Wed, 17 Nov 2004 09:10:11 -0600 Message-ID: <4775.128.252.85.103.1100704211.squirrel@morpheus.wustl.edu> --===============7082935301669163205== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable 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 2. tsdata.php: -- to get data, here I set it as a 2-d array and assign values to it to simplify the code 3. tsshow.php: -- display the values of $obj: "; ?>
First Row:
Second Row:
Next  4. tsnext.php: -- to display the next 2-d array element's value: "; include "tsshow.php"; ?> Now, when I browse tsstart.php, it displays: result-set index: 0 First Row: 0 Second Row: 2 and the link "Next" However, when I click the link "Next", it displays: new ind: 1 result-set index: 1 First Row: Second Row: no values are displayed. Apparently, $obj is not passed to tsnext.php and tsshow.php (the second time), but $ind is. What is wrong in the above codes? Can somebody help me? I greatly appreciate all help! Hongwei Li --===============7082935301669163205==-- From brian at cubik.ca Fri Jun 5 13:49:30 2015 Content-Type: multipart/mixed; boundary="===============8070295283348733480==" MIME-Version: 1.0 From: Brian Richardson To: users at lists.fedoraproject.org Subject: Re: problem in my php code Date: Thu, 18 Nov 2004 06:58:22 -0700 Message-ID: In-Reply-To: 4775.128.252.85.103.1100704211.squirrel@morpheus.wustl.edu --===============8070295283348733480== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable On 17-Nov-04, at 8:10 AM, Hongwei Li wrote: [ snip lots of code ] > I greatly appreciate all help! You will probably find more help on the php-general mailing list. Sign = up at http://www.php.net/ Brian -- Brian Richardson Software Developer Public Key available at http://www.cubik.ca/ --===============8070295283348733480==--