https://api.telegram.org/bot{BOT_API_KEY}/sendMessage?chat_id=@{СЮДА_ИМЯ_ЧАТА}&text=...
<?php
$results = mysql_query("SELECT * FROM mytable WHERE user_id =' ".$_SESSION['id']."'");
while($row = mysql_fetch_array($results)) {
$session_user_id = ($_SESSION['id']);
$user_id = ($row['user_id']);
$value = $row['test_rt1'];
if($session_user_id === $user_id) {
echo "
<div class='al1s3'>
<div class='tabl_2'>
<form action='save_sf-form.php' method='post' name='test_form'>
<div class='tob_b324556'>
<div class='cons_box'>
<input type='radio' name='test_rt1' value='1' " . ($value == 1 ? 'checked' : '') . " />1
<input type='radio' name='test_rt1' value='2' " . ($value == 2 ? 'checked' : '') . " />2
<input type='radio' name='test_rt1' value='3' " . ($value == 3 ? 'checked' : '') . " />3
</div>
<input type='hidden' name='test_id' value='" . $_SESSION['id'] . "'/>
<div class='d456342sss'><input name='change' type='submit' value='Сохранить' class='bd3'></div>
</div>
</form>
</div>
</div>
";
}
}
?>
$value = $row['test_rt1'];
$telephone = '+' . preg_replace('~[^0-9]~', '', $telephone);
$telephone = preg_replace('~[^0-9\+]~', '', $telephone);