Good afternoon, I have a question on how to move the selected items from a page to a URL to issue a report, the whole code is working fine, but that part is missing.
example
item codigo
1 11
2 12
3 13
4 14
5 15
How do I select the checkbox of items 1,2,5 to be passed through a url as follows: www.teste.com/realatorio.php?id=1,2,5
<?php
while ($row = mysql_fetch_object($saldo_financeiro2)) {
$cliente = $row->nome_cliente;/* dentro do $row[] vai o nome da coluna da sua consulta */
echo '<tr>
<td>
<input class="input-field" type="checkbox" name="age" value="'.$row->item.'"/>
<label></label>
</td>';
echo "<td>".date('d-m-Y', strtotime($row->codigo))."</td>
</tr>";
}
?>