I am retrieving the rows of my query as such:
$rows = mysqli_fetch_all($result, MYSQLI_ASSOC);
How can I do:
(PSEUDO CODE)
for each row in rows
echo row
I can just "echo $rows" but that doesn't allow me to go through each row on a separate paragraph.
As a second question, how can I go through each column of a row:
(PSEUDO CODE)
for each row in rows
for each column in row
echo column
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…