that /g modifier was the problem ... thanks very much.
chris
In reply to Re: Re: foreach loop with nested by cdherold in thread foreach loop with nested by cdherold