Iterating through two columns of a MySQL table
I’m making a bot in PHP for telegram API and I’m using MySQL.
I have a table for every user that stores id, name, etc.
I wrote a piece of code to send number of users and select the id of every user to make a link with it, using a loop.
I was wondering how I can iterate through the names at the same time
do I need another loop or I should use MySQL code?