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

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

arrays - Algorithm to find ideal starting spot in a circle -

php - Autoloader issue not returning Class -