Well, that's a start. First, be careful with the backslashes, you only need them in very specific instances. Here is a generic mySQL read. The important part is that you communicate with the MySQL database with SQL statements.
$handle=mysql_connect($dbname,$dbuser,$dbpwd);
if (!$handle) {die('Failed to connect to db.');}
$sql="SELECT * FROM $tblname WHERE $fieldname='$somevar'";
$result=mysql_query($sql,$handle);
if (!result) {die('Query Failed.');}
while ($rowarray=mysql_fetch_array($result)) {
#process result row from elements now in array
echo $rowarray[$fieldname];
echo $rowarray[$otherfieldname];
echo $rowarray[customernumber];
echo $rowarray['phonenumber'];
#etc...
}