$conn is your database connection
$sql is your query to database
but you must connect to mysql before you can used the database
you can used example below for your script
$Host="everest";
$User="yourDBusername";
$Password="yourDBpassword";
$DBName="cat";
if(!$conn=mysql_connect($Host, $User, $Password))
{
echo mysql_error();
exit;
}
mysql_select_db($DBname,$conn);