please i need your help. i need to output the result below in this format $array = array('45', '92' , '91','94', '90', '12', '104', '105', '93');

$checkfresult = mysql_query("SELECT name, state FROM users"); $users = array(); while($thecount = mysql_fetch_assoc($checkfresult)){ $users[] = $thecount; };  $array = array('45', '92' , '91','94', '90', '12', '104', '105', '93');

Recommended Answers

All 2 Replies

Member Avatar for cuonic

I don;t understand what you mean... Please be more precise so we can get to the bottom of this.

I don;t understand what you mean... Please be more precise so we can get to the bottom of this.

thanks i have solved it

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.