I need the property name="q1"
to generate a string, like this:
<textarea name="q1"></textarea>
<textarea name="q2"></textarea>
<textarea name="q3"></textarea>
.
.
. <!-- // Até -->
<textarea name="q20"></textarea>
My code below:
forEach($resultado as $y){ ?>
<label class="fs-field-label fs-anim-upper" for="q1"><?php echo $y['ipco_descr_item']; ?></label>
<textarea rows="3" cols="30" class="fs-anim-lower" id="q1" **name="q1"** placeholder="Resposta"> </textarea>
<div id="resposta"></div>
<?php
}