Jump to content

escaping the string space


phpmady

Recommended Posts

Hi,

 

I am sending a sms from my text box, when i placed new line it shows me a rn instead of making new line.

 

for example

 

Dear Customer,

first line

 

result am getting is :

 

Dear Customer,rnfirst line

 

 

 

anyone has idea whats the problem might be

 

this is the code am using:

 

$url = "http://www.jawal1.com/send.php?username=".urlencode($userAccount)."&password=".urlencode($passAccount)."&number=".$numbers."&sender=".urlencode($userSenderSMS)."&msg=".urlencode($msg);

 

 

 

Thanks,

 

Link to comment
https://forums.phpfreaks.com/topic/208444-escaping-the-string-space/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.