Re: space increment
| From: | Jason Murray | Date: | Thu, 11 Jan 2001 18:58:48 +0000 |
| Subject: | Re: space increment | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-34054@lists.php.net to get a copy of this message | ||
Wee Chua wrote:
>
> Hi all,
> I would like to have codes which will could automatically generate as many
> as sequence number variables based on how many rows return from the query,
> such as if I have 10 rows from the query result, I would have
> $var1,$var2,$var3,$var4....and so on, but the value of $var1 would equal to
> 3 spaces, and value of $var2 would equal to 6 spaces, then $var3 would equal
> to 9 spaces and so on. Could anyone tell me how could I write codes for this
> purpose. Thank you very much in advance!
>
> Calvin Chua
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> For additional commands, e-mail: php-general-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
Use an array.
Greetings,
Jason
--
Jason Murray
Developer
jWeb New Media Design
1 877 525 jWEB