i am having a real hard time creating a text file in the right format
it seems to be related to the way the line breaks are seen. do i need to create /r/n line breaks?
how do i create the dos line breaks in expression engine?
thanks
Jeff
This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.
The active forums are here.
May 09, 2011 4:16pm
Subscribe [3]#1 / May 09, 2011 4:16pm
i am having a real hard time creating a text file in the right format
it seems to be related to the way the line breaks are seen. do i need to create /r/n line breaks?
how do i create the dos line breaks in expression engine?
thanks
Jeff
#2 / May 10, 2011 4:26am
Jeff,
Can you tell us some more context around what you are trying to do please?
Where are you trying to create your text file? Using an EE template of generating one from PHP?
#3 / May 10, 2011 12:33pm
i think i figured it out
i am curious though if am creating a php file can i put ee tags inside php or do those need to be separate? i think what i have below does not work…
<?php
{XXX}...
?>
#4 / May 11, 2011 9:40am
Hi, jgreenstein.
You can use PHP in EE templates, but you have to set the template to allow PHP and put it in either input or output mode.
Input mode is normally outside a loop such as the exp:channel:entries tag, and output mode is inside.
But oftentimes you might not need to use PHP at all, it depends on what you’re trying to do.