Re: spliti

From: Date: Sat, 22 Dec 2001 04:27:40 +0000
Subject: Re: spliti
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-78534@lists.php.net to get a copy of this message
* Yamin Prabudy (phplist@pro.net.id) [Dec 21. 2001 23:17]: > $line = "no more words to say"; > then I want to split them all I used > spliti(" ",$line); http://www.php.net/explode > Then want to print it out say > echo $word[0] $word[1] $word[$i]; http://www.php.net/foreach or 3.x, use a while() with: http://www.php.net/list http://www.php.net/each > how can I do this.. > Thanks in Advance HTH. -- Brian Clark | Avoiding the general public since 1805! Fingerprint: 07CE FA37 8DF6 A109 8119 076B B5A2 E5FB E4D0 C7C8 It's been lovely, but I have to scream now.

« previous php.general (#78534) next »