$sql = select * from where telefon = : $telefon;

if(!$sql)
{
$insert
}