I have this query
SELECT articles.*, users.username AS `user` FROM `articles` LEFT JOIN `users` ON articles.user_id = users.id ORDER BY articles
You can use the IFNULL function:
SELECT articles.*, IFNULL(users.username, 'User Not Found') AS `user` FROM `articles` LEFT JOIN `users` ON articles.user_id = users.id ORDER BY articles.timestamp