0
$result = mysql_query("SELECT token FROM active_users");
$tokens = array();
while($row = mysql_fetch_assoc($result))
{
$tokens[] = $row;
}
...工作,但:商店的MySQL行值作爲數組值
Array
(
[0] => Array
(
[token] => 32166565
)
[1] => Array
(
[token] => 56566565
)
)
,而我需要的是簡單的:
Array
(
[0] => 32166565
[1] => 56566565
)