Could you please leave the subject alone when you're following up on a thread. It's hard to follow what you're talking about when we can't see the references to the other parts of the thread.
As for your problem, try removing the semi-colon after the "if ($inst == '2')" statement. It's a simple logic error. J John Gurley wrote: > > here is a larger chunk of the code: > <snip> -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php