I'm trying to display data on a webpage that is relevant to that particular username. The only thing that would be completely unique for each row of data is the ID column.
Currently, I'm able to display the data from each row but it displays all of the rows due to a while loop.
while($rows=mysql_fetch_array($result)){
?>
Then the table code echos the $rows amd variables.
<?php
// close while loop
}
?>
How do I get this to only display data that is relevant for that particular username?