i want to send multiple id in php link my code is :
$id_resa = array($ligne['id_resa']);
echo $query = http_build_query(array('id_resa' => $id_resa));
the result of echo is :id_resa%5B0%5D=1205 id_resa%5B0%5D=1204
so its work and its give me two id, but when i use it in link outside the while function i get in the link just the last id.
my link code is :
<table id="datatable-responsive" class="table table-striped table-bordered dt-responsive nowrap" cellspacing="0" width="100%">
<tbody>
<tr>
<td><center><a target="blank" href="imprimer.php?id_client=<?php echo $_REQUEST['id_client'];?>&agence=<?php echo $_REQUEST['agence'];?>&date=<?php echo $_REQUEST['date'];?>&id_facture=<?php echo $_REQUEST['id_facture'];?>&type_paiement=<?php echo $_REQUEST['type_paiement'];?>&id_resa=<?php echo $query;?>"><button type="button" class="btn btn-default btn-sm">Imprimer Facture</button></a></center>
</td>
</tr>
</tbody>
</table>
is there any method to have this two id in the link together?