Browse our categories and find questions you could answer!
Services
Questions
Thought of a category that is not present? Contact Us!
Equivalent of 'endl' in PHP
Question from SuperRemi
Reward : 0.50 $
Sunday, Jan 13, 2008 - 2:25 PM PST
Computer -Programming -C/C++/C#
Hi all,

I am looking for the end of line character in PHP.
(equivalent of the std::endl in C++)

Thx
Fed009
Monday, Jan 14, 2008 - 9:43 AM PST
Would $eol fit?
farouq
Wednesday, Jan 16, 2008 - 1:03 PM PST
This is not working : $eol seems to be jut a regular empty string
farouq
Wednesday, Jan 16, 2008 - 1:03 PM PST
farouq received 0.50 $ for this answer
I am using "\n".. not sure if there is any better option but this one is working fine !

Farouq@Mumbai