Ajay
Ajay

Reputation: 705

Adding a line break in curl params

I need to add \n or something equivalent to it in the labelled positions .

$params = array(
'msg' => 'Hi <line break>, A new account has been created. <line break> Bye',
     .......
);

Thanks.

Upvotes: 0

Views: 841

Answers (1)

Sam Dufel
Sam Dufel

Reputation: 17598

It looks like the line break character for SMS is generally %0A; it may vary based on which gateway you're using, though.

Upvotes: 2

Related Questions