I have a problem to display data coming from a database in an orderly way, I have a field for the user to enter with the ID and it returns the user name, and when it is looking for more users the previous ones should hold.
<?php
$a = $_GET['a'];
if($a == "buscar"){
$id = $_POST['id'];
$sql = ibase_query("SELECT NOME FROM TB_CLIENTE WHERE ID_CLIENTE = $id ");
$row = ibase_fetch_row($sql);
echo '<tr>';
echo '<td>' . $row[0] . '</td>';
echo '</tr>';
}
?>
In this way each new search it eliminates the previous result