How should I go about querying SQL database based on html <a> click? : <p>What I want to do is when a user clicks an HTML  a PHP file querys MySQL database and display the data in a popup tab. How should I go about doing this? Should I use javascript to handle the button events? Or can this be done with only PHP? Maybe a combination? You dont have show any code, maybe just a little guidance of how I should handle it. I am new to coding, only a week or so, thanks!</p>
