RE: [PHP] Recursive Replace
| From: | John W. Holmes | Date: | Wed, 02 Oct 2002 15:25:34 +0000 |
| Subject: | RE: [PHP] Recursive Replace | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-118604@lists.php.net to get a copy of this message | ||
> If it's genuinely one line per $info[] element, just add the
dad-blamed
> <br> to your echo:
>
> <? for ($i = 7; $i < sizeof($info); $i+=1) { echo $info[$i], '<br>';
} ?>
>
Also, just an FYI to the OP, you may want to calculate sizeof($info)
before hand, and use a variable in your for() statement. That way it
doesn't have to calculate sizeof() each loop...
---John Holmes...