interable Posted October 24, 2018 Share Posted October 24, 2018 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; ?> 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.