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: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
Use an array.
Greetings,
Jason
--
Jason Murray
Developer
jWeb New Media Design
1 877 525 jWEB
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]