The Script:
脚本:
<?php
$tqs = "SELECT * FROM `table_two`";
$tqr = mysqli_query($dbc, $tqs);
$row = mysqli_fetch_assoc($tqr);
$thearray[] = $row['some_text_id'];
// Prints e.g.: Array ( [0] => 164, 165, 166 )
print_r($thearray);
echo "<br/><br/>";
echo "<br/><br/>";
$thearray = explode(", ", $thearray);
print_r($thearray);
?>
<?php
$tqs = "SELECT *