I have 3 Tables one that contains the user’s info (including Log_Name), the logs (in which you can find Login) and the evaluation (if the user answered the ‘evaluation’ or not). All are connected by user_id field.
I want to output it in php in this manner:

Can you help me in solving this.
EDIT:
Someone suggested that I loop first Log_Name and inside that loop, I’ll loop the Login then display them in a table. But I have no idea how to do that.
Take a look at GROUP_CONCAT
GROUP_CONCAT(log.date) will return comma separated date listing then you can display it as per your need.