[Solved] I can’t apply css for “while” looping [closed]


Your problem is position:fixed. This tells the browser to lay all tables, one over the other, at window position right:500; left:500; top:100;. So, everything is there, but you tell the browser to put each new data set into a new table, and stack it in front of or behind the previous dataset (=table).

My best guess as to what you wanted to achieve is

$users=mysql_query("select * from users");
    echo "<table>";
    while($user=mysql_fetch_array($users))
    {
    echo "<tr>";
    echo "<td class="user">";
    echo $user['pseudo'];
    echo "</td>";
    echo "</tr>";
    }
    echo "</table>";

1

solved I can’t apply css for “while” looping [closed]