There is a query to the database, to a single table using pdo
SELECT id, name, lastname, login, birthday, main_photo FROM users WHERE id = :id How to modify the query so that the sample was from three different tables? I do as follows:
SELECT id, name, lastname, login, birthday, main_photo FROM users, regals, user_info WHERE id = :id thank