📅  最后修改于: 2022-03-11 14:54:18.025000             🧑  作者: Mango
$dis=$mysqli->query("select * from article");
while ($diss = $dis->fetch_assoc()) {
$t=$diss['title'];
$abbreviation = explode(' ', trim($t ))[0];
echo $abbreviation;
echo''; // will print Hello
}