pChart4mw - newline fix - pChart4mw.class.php
Scholtalbers Jul 26th, 2012 75 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
- < $lines = explode( "\n", $rawData );
- > // Scholtalbers: However sometimes, when using for example External Data, \n are not put between lines
- > // To compensate for that users can use different line separators which I defined now by (<br/>,\\n,$,;)
- > $lines = preg_split( '%<br\s*\/>|\\n|\\\\n|\$|;%', $rawData );
RAW Paste Data