Hello,
how would I go about getting 1 different field in 2 rows from 1 table under the same username display in php?
So there are two rows, each row has a field called picture and a field called username. I want php to display row 1's picture in php and beside it row 2's picture in php for the username.
So if the username in the username field was ishmell and the person viewing the page that this will be displayed on is ishmell it will show the row 1's picture and the row 2's picture. Otherwise it would not show anything....
And lets say the username in row 1's username field was ishmell and row 2's username field was derk and ishmell was view this page then it would only show row 1's picture to ishmell.
I really hope someone can help me, even though im not to clear... I been stuck on this for some time now, its just really hard to explain.