SyntaxFix
Write A Post
Hire A Developer
Questions
You can also use UNION like
SELECT user_fname , user_lname FROM users WHERE user_id = $_GET[id] UNION SELECT user_fname , user_lname FROM users WHERE user_parent_id = $_GET[id]