display a column in the mysql database with the help of a php script

I'm trying to print a line from a table in mysql using a php script – here's the code but it does not work – it displays an incorrect query, apparently it's not there no problem:

$ conn = mysqli_connect ($ servername, $ username, $ password, $ db);
if (! $ conn) {
die ("The connection failed:". mysqli_connect_error ());
}

other{

echo "Connected successfully";

}


$ any = "display help_category columns";
$ chk = mysqli_query ($ any) or die ("Wrong query: $ sql");
echo"";
echo"";

while ($ row = mysqli_fetch_assoc ($ chk))

{

echo"";


}


echo"
Type
{$ row['Type']}
";