$qsBody = $rowQuestion['body']; // This is what I read from database that contains some new line characters $strReply = $qsBody; $strSendMethod = "SendMessage?chat_id=$ChatId&text='$strReply'"; file_get_contents( BOT_TARGET_ADDRESS . $strSendMethod ); // The message received by user contains _ instead of new line.
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)