Line Break in PHP
How we add line break after $mobile
I am using this script but it not sent sms when I use this script. And when I remove "\r\n" it's works fine.Why? Please help to line break.
$number = $_POST['mobile'];$message = $_POST['message'];$message = urlencode($name.''.$mobile.'\r\n'.$message);$fields = "api_token=ABCDEFGHIJKLMNOPQRSTUVWXYZ&senderid=SENDID&message=$message&route=4&number=$number";
2 Answers
Know the answer? Post it. Somebody with the same question will find it here.

Vignesh ManiRank #98 · 22.1K reputationPosted May 2, 2018, 5:58 AM EDT
Kesavan KrishnanRank #3,055 · 471 reputationPosted May 3, 2018, 8:04 PM EDT