```
$x = 1;

$num = 15;

while($x <= $num) {
   $res = '[TR][TD="align: left"]'.$x.'[/TD][TD="align: left"][/TD][/TR]';
   $x++;
} 

echo $res;

```

That's my code but it only shows the following when I try it:
[TR][TD="align: left"]15[/TD][TD="align: left"][/TD][/TR]

It should show that but instead of only 15 it should be 1-15 inclusive.

Any ideas?