space increment

From: Date: Thu, 11 Jan 2001 15:29:27 +0000
Subject: space increment
Groups: php.general 
Request: Send a blank email to php-general+get-34023@lists.php.net to get a copy of this message
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

« previous php.general (#34023) next »