What code are you using to query your database?
<?php
$conn = mysqli_connect("localhost", "yourusername", "yourpassword") or die(mysqli_error($conn));
mysqli_select_db($conn, "yourdb") or die(mysqli_error($conn));
$client = $_GET['client'];
$query = "select * from tablename where client='$client'";
$result = mysqli_query($conn, $query);
$count = mysqli_num_rows($result);
if($count==0)
{
echo "No Results Found";
} else {
$table = '<table>';
while($array=mysqli_fetch_array($result))
{
$table .= '<tr><td>' . $array['name'] . '</td><td>' . $array['otherdetail'] . '</td></tr>'
}
$table .= '</table>';
}
echo $table;
?>
or something like that anyway is what you will need to write to query a database and generate a html table to be output into the browser