How do I escape a new line character in a .ini file so that Zend_Config_Ini reads it literally?
- by Nick
I am trying to store a multiple line e-mail in an ini file using PHP/Zend Framework. My string has new lines characters in it, and when I use Zend_Config_Ini to parse the ini file, the new line characters come back escaped, so they are printed out on screen, instead of a line feed.
Example:
// ini file
message = Hi {0},\n\nThis is a test…