I use the php operator && to select multiple data so that there is no duplication on mysql. Does the code that I use below run fine? Is there a more simple use of PHP operators? Answer Upgrade to mysqli, I’ll recommend object-oriented syntax because it is nicer to work with. In accordance with the best practice of “minimize calls