Re: Multiple text using echo
| From: | Neil Freeman | Date: | Fri, 05 Jul 2002 10:57:57 +0000 |
| Subject: | Re: Multiple text using echo | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-105611@lists.php.net to get a copy of this message | ||
How about str_repeat() ?
eg: echo str_repeat("-=", 10);
Craig wrote:
************************************************************************** This Message Was Virus Checked With : SAVI 3.59 May 2002 Last Updated 3rd July 2002 ************************************************************************** Is there a way i can use php to echo text x amounts of times based on a condition for example if $foo = 2 echo $fido * 2-- ---------------------------- Work: neil.freeman@asa.co.uk Home: neil@curvedvision.com Web: www.curvedvision.com ----------------------------