Ahmed Ahmed - 7 months ago 53
PHP Question

PHP loop X amount of times

I have a string called

which dynamically gets a value from 1 to 7. I want to create a loop of
for however many times the value of
is. Any idea how I can do this?

for ($k = 0 ; $k < $columns; $k++){ echo '<td></td>'; }