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 cannot see where you are passing ANYTHING to tsnext.php - PHP scripts work fully independantly, there is no way the tsnext.php script can know what has happened in any previous PHP script and it cannot pick up values or variables unless you actually explicitly send them to the subsequent script/s. The reason $ind appears to have been passed (i.e. is set 1 to) is only because you are doing $ind++ before you echo it out. If you didn't, it would still be a value of 0. Best regards, Richard Davey -- http://www.launchcode.co.uk - PHP Development Services "I am not young enough to know everything." - Oscar Wilde -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php