php - Facebook Messenger bot text formatting -


i have following message fb messenger bot replies users:

$message_to_reply = "to travel info, reply in format\norigin*destination*travedate\nexample: city 1*city 2*$selected_date"; 

i trying add line breaks using \n looks not working. have tried chr(10), '\n', '<br>'and <center></center> , none of them working me. faced same issue , work around?


Comments

Popular posts from this blog

asp.net - How to correctly use QUERY_STRING in ISAPI rewrite? -

jsf - "PropertyNotWritableException: Illegal Syntax for Set Operation" error when setting value in bean -

laravel - Undefined property: Illuminate\Pagination\LengthAwarePaginator::$id (View: F:\project\resources\views\admin\carousels\index.blade.php) -