'(SELECT * FROM `text` LIMIT '. rand(0, $row_count) . ', 1)';
$query = implode(' UNION ', $query);
$text = mysql_query($query);
//$text = '123';
$author = '321';
$url = $api . '/sendMessage?chat_id=' . $chat_id . '&text=<b>' . $text . '</b>%0A<i>Автор:</i> ' . $author . '&parse_mode=html';
$allres = file_get_contents($url);
SELECT * FROM text ORDER BY RAND() LIMIT 0,1;
Обсуждают сегодня