With given piece of code, it is not possible to locate problem. What definitely is not working - drop down with “Delete Comment” not appearing? Try to debug - by echo-ing $profile->is_admin, $profile->id and $comment[‘user_id’].
I actually figured out what my problem was. Thanks