0
Good afternoon, Personal I am with a doubt in how to make to pass the selected items of a page for a URL to send a report all the code already working nicely only missing that part.
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 pass a url in the following way 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>";
}
?>
Why not forward via POST? via GET is easier to manipulate results, confusing, I think
– Sr. André Baill
and how would it be via post? because with various data so I have not yet been able to do
– Cristiano Cardoso Silva
Can you help me @Andrébaill
– Cristiano Cardoso Silva