SELECT SUBSTRING_INDEX("Иванов Иван Иванович (developer)", " (", 1);
// Иванов Иван Иванович
$arr = ['banan','apple'];
$arr2 = ['apple','banan','pear'];
$arr = array_pad($arr, count($arr2), 0);
array_multisort($arr, $arr2);
print_r($arr2);
$co = mysql_query("SELECT COUNT(email) AS emails FROM clients WHERE email = 'bill@microsoft.com';");
$count = mysql_num_rows($co);
echo $count;
$sql ="SELECT COUNT(email) AS emails FROM clients WHERE email = 'bill@microsoft.com'";
$result = mysqli_query($link, $sql) or print(mysqli_error($link));
$data = mysqli_fetch_array($result);
echo $data['emails'];