First of all im new to php, i have two forms that select from the same table a project and a quarter the it is displayed in a table format, i have tried that and it works fine and the results are got, but what i want now is to download what has been selected here is a code
<?php foreach($developersData as $developer) { ?>
<tr>
<td class="annualworkplan"><?php echo $row4['activities']; ?></td>
<td class="annualworkplan"><?php echo $row4['annualoutput']; ?></td>
<td class="annualworkplan"><?php echo $row4['annualbudget']; ?></td>
<td class="quarterlyworkplan"><?php echo $row4['q4interim']; ?></td>
<td class="quarterlyworkplan"><?php echo $row4['q4kpi']; ?></td>
<td class="quarterlyworkplan"><?php echo $row4['q4budget']; ?></td>
<td class="thcolor">
<div contentEditable='true' onkeypress="return (this.innerText.length <= 200)"
oncopy="return false" oncut="return false" onpaste="return false"
class='edit' id='actualoutput4_<?php echo $row4['id']; ?>' >
<?php echo $row4['actualoutput4']; ?>
</div>
</td>
<td class="thcolor">
<div contentEditable='true' class='edit'
id='actualkpi4_<?php echo $row4['id']; ?>'>
<?php echo $row4['actualkpi4']; ?>
</div>
</td>
<td class="thcolor">
<div contentEditable='true' class='edit' id='actualbudget4_<?php echo $row4['id']; ?>'>
<?php echo $row4['actualbudget4']; ?>
</div>
</td>
<td class="quarterlyperf"><?php echo $row4['variance4']; ?></td>
<td class="quarterlyperf"><?php echo $row4['budgetperf4']; ?></td>
</tr>
<?php } ?> '