I have a MySQL database called "test", in this database there is a table "click". This table has three columns "username", "password" and "click". How to display data from the "click" table on the page if the text entered into a variable matches one of the entries in the "username" column?
Database Connection Code
<? $servername = "localhost"; $database = "test"; $username = "root"; $password = ""; $conn = mysqli_connect($servername, $username, $password, $database); ?>