0
这里是数据库的样子 显示整个表可选空字段
所以我想喜欢
Champion name
name of the column e.g. Q name of the spell - Surging Tides
the rest of spells for that champion
Next Champion etc.,
这显示它是我现在显示冠军名的方式
$champions = $conn->prepare("SELECT *
FROM champions
Where Patch_No = ?");
$champions->bind_param('s', $Patch_No);
$champions->execute();
$champions_result = $champions->get_result();
while($row = $champions_result->fetch_assoc()){
echo $row['Champion'].' '.$row['NumNotNull'].'<br>';
}
我真的不能相信一个简单的方法与可能出现的问题最少的做到这一点。
下面是另一个例子应该怎么看起来像
你为什么不使用HTML表? – Barmar
@Barmar你通过HTML表格的意思,我只是不知道如何正确地获取所有信息,以显示它像我发现去年imgur – Higeath
不'SELECT *'获取所有的信息? – Barmar