how to get $clients['arrays'] if $clinets['state'] or $clients['city']
echo that array or echo $$clinets['state']
example for number of clients
but i need get arrays of clients in database
<?php
require("init.php");
// Get the client count
$table = "tblclients";
$fields = "COUNT(*) AS clientcount";
$result = select_query($table,$fields);
while ($data = mysql_fetch_array($result)) {
$clientcount = $data['clientcount'];
}
echo $clientcount;
?>