I was already investigating and everything and I can not find how to do it, I explain what I want to do ...
I have this table in PHP and MYSQL ...
<table>
<thead>
...
</thead>
<tbody class="buscar1">
<?php
include("XXXXXXX/conexion.php");
$sql = "SELECT *,
COUNT(no_pedido) as ped,
SUM(cantidad),
SUM(precio_venta)
FROM tblpedido INNER JOIN tblusers
WHERE status = 'EN PROCESO'
AND tblpedido.id_usuario=tblusers.id
GROUP BY no_pedido";
$result=mysqli_query($conexion, $sql);
while ($row=mysqli_fetch_array($result))
{
?>
<tr>
<td style="text-align: center">
<a href="" style="text-decoration: none;"> <!---- aqui quiero dar click ---->
<i class="fas fa-eye fa-lg"></i> <?php echo $row['no_pedido']; ?>
</a>
</td>
<td style="text-align: center"><?php echo $row['fecha_pedido1']; ?></td>
<td style="text-align: center"><?php echo $row['SUM(cantidad)']; ?></td>
<td style="text-align: center">$ <?php echo $row['SUM(precio_venta)']; ?> MXN</td>
...
</tr>
<?php
}
$result->free();
mysqli_close($conexion);
?>
</tbody>
</table>
By clicking on the order number1, show me in a modal all the details of the order1 or by clicking on the order number2, show me in a modal all the details of the order2 and if in succession if I had more orders.
The data that I want to show me in a table within the modal for example of order 1 or order2 in each case if I click are:
I do not know if I can explain myself thank you very much Greetings