$sqlWork = "SELECT * FROM work WHERE user_id = '$_SESSION[user_id]'";
$resultWork = $connection->query($sqlWork);
$rowWork = $resultWork->fetch_assoc();
我目前有这张桌子。
(如果我有声誉,我会添加图片)
这就是我输出数据的方式。
do {
echo "{$rowWork['work']}";
} while ($description = mysqli_fetch_array($resultWork));