Add user_id field to site_comments table. This will be the reference to user table.
Then add the user table(lets call it "users"). Fields would be: id,username,avatar,rank (and other if you like).
The join would something like this:
$sql = mysql_query("SELECT c.artical_id, c.name, c.date, c.subject, c.comment, u.username, u.avatar, u.rank FROM site_comments AS c
LEFT JOIN users AS u ON c.user_id = u.id
WHERE c.artical_id = $id ORDER BY c.id");