John Cartor

John Cartor

  • NA
  • 4
  • 814

Line Break in PHP

Apr 27 2018 8:38 PM
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";

Answers (2)