Re: end of the loop.

From: Date: Thu, 20 Feb 2003 20:58:53 +0000
Subject: Re: end of the loop.
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-136414@lists.php.net to get a copy of this message
If the list is an array, try implode()ing it. Didier McGillis wrote:
I have a question. I need to setup something so it goes through a dynamic list, the length of the list changes, gets the contents of the list and seperate each element with a ^ (carot), except for the last one. So it looks like this. number=0^1^2^3 How do I make sure that it does append a ^ to the last item? _________________________________________________________________ Add photos to your e-mail with MSN 8. Get 2 months FREE*. http://join.msn.com/?page=features/featuredemail
-- The above message is encrypted with double rot13 encoding. Any unauthorized attempt to decrypt it will be prosecuted to the full extent of the law.

« previous php.general (#136414) next »