How to remove the new line character from the end of a text line?
Answer / Shubham Singh
In PHP, you can remove the new line character at the end of a text line using the rtrim() function. Here's an example: `$text = rtrim($text, "n");`
| Is This Answer Correct ? | 0 Yes | 0 No |
What is meant by an associative array?
How to call a php function from another php file?
Here in this site i could not find the details for php ZEND certifications or i think u did not post any ? so i need the information about the php certification how to prepare and some of the mock exams?
What does csrf token mismatch mean?
What is the main difference between require() and include()?
Should I use mysqli or pdo?
What is difference between get and post in php?
What is a php certification?
Where is session value stored php?
How to find a substring from a given string in php?
how to use particular city location in php?
Is time a dependent variable?