hmaddy Posted February 1, 2023 Share Posted February 1, 2023 i am using ticket open api and its works fine. But i need to split the line of message. now its creates ticket like "Hello sir, this is your ticket" i need it as Hello sir, This is your ticket For this how to add the split command., i tried \n, <p> and </p> and br also. 0 Quote Link to comment Share on other sites More sharing options...
Kian Posted February 1, 2023 Share Posted February 1, 2023 Use PHP_EOL as follows: $message = 'Hello,' . PHP_EOL . ' I don\'t know who you are but I will find you an I will kill you'; 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.