私のデータベースのサンプルはこのようなものです
database:test
table:test
id name password message active
1 test testpass testmsg no
2 test2 testtest testmsg2 no
SQLクエリを実行してphpで表示すると、1つの結果しか得られません。php部分は、
$a=mysqli_query($con,"select name from test where active='no'");
$b=mysqli_fetch_array($a);
print_r($b);
そしてそれは最初のレコードだけを示しました
test
私が間違っているところを教えてください。