Re: Printing variables (newbie question)
| From: | Jason Brooke | Date: | Tue, 22 Aug 2000 05:15:23 +0000 |
| Subject: | Re: Printing variables (newbie question) | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-12884@lists.php.net to get a copy of this message | ||
try echo "text". $some_var[$i];
jason
> Hi,
>
> I'm having trouble here.
> When using:
> for ($i =0;$i<$some_value;$i++) {
> echo "text$some_var[$i]";
> }
> it only outputs the word "text".
>
> What am I doing wrong?
>
> Thanks,
> Brian Rue