php for loop varable names

Posted by Stefan on Stack Overflow See other posts from Stack Overflow or by Stefan
Published on 2010-05-27T15:46:14Z Indexed on 2010/05/27 15:51 UTC
Read the original article Hit count: 238

Filed under:
|
|
|
|

i got a code of 100-200 rules for making a table. but the whole time is happening the same. i got a variable $xm3, then i make a column . next row, i got $xm2 and make column. next row, i got $xm1 and make column.

so my variables are going to $xm3, $xm2, $xm1, $xm0, $xp1, $xp2, $xp3.

is there a way to make a forloop so i can fill $xm and after that a value from the for loop?

© Stack Overflow or respective owner

Related posts about php

Related posts about variable