$result = mysql_query("SELECT token FROM active_users");
$tokens = array();
while($row = mysql_fetch_assoc($result))
{
$tokens[] = $row;
}
...有效,但是:
Array
(
[0] => Array
(
[token] => 32166565
)
[1] => Array
(
[token] => 56566565
)
)
而我需要它是简单的:
Array
(
[0] => 32166565
[1] => 56566565
)