📜  获取 firstwod php 代码示例

📅  最后修改于: 2022-03-11 14:54:18.025000             🧑  作者: Mango

代码示例3
$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 }