Stickybomb Posted February 14, 2007 Share Posted February 14, 2007 here is the dilema i have a file that i am bring in text from, but i want to only bring in one line of text. How do I detect, or tell it to only work with one line. Exp. my file looks like this 1|0|1 2|1|0|0 3|0 4|0 5|1|1 6|0 7|0|1|1|0 8|1 9|1|0 i want to bring in the series after the number to work with, stoping at the end of the line. Link to comment https://forums.phpfreaks.com/topic/38481-line-break-detection-from-a-file/ Share on other sites More sharing options...
fenway Posted February 14, 2007 Share Posted February 14, 2007 How are you loading this file? Link to comment https://forums.phpfreaks.com/topic/38481-line-break-detection-from-a-file/#findComment-184639 Share on other sites More sharing options...
Stickybomb Posted February 15, 2007 Author Share Posted February 15, 2007 basically all i need to know is how to detect a line break in data aquired from a form content box. Link to comment https://forums.phpfreaks.com/topic/38481-line-break-detection-from-a-file/#findComment-185030 Share on other sites More sharing options...
fenway Posted February 15, 2007 Share Posted February 15, 2007 Regular expression on \n\r? Link to comment https://forums.phpfreaks.com/topic/38481-line-break-detection-from-a-file/#findComment-185513 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.