myqsl database download of data to website page
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.
Then the table code echos the $rows amd variables.
// close while loop
How do I get this to only display data that is relevant for that particular username?
Change the SQL query. Which you didn't bother to show us, so I have no idea what it looks like.
Otherwise it would be simpler to retrieve from the db just the record you need to display using something like
|All times are GMT +1. The time now is 06:58 PM.|
Powered by vBulletin®
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.