SHARE
TWEET

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!
  1. 70c70,72
  2. <                       $lines = explode( "\n", $rawData );
  3. ---
  4. >                       // Scholtalbers: However sometimes, when using for example External Data, \n are not put between lines
  5. >                       //               To compensate for that users can use different line separators which I defined now by (<br/>,\\n,$,;)
  6. >                       $lines = preg_split( '%<br\s*\/>|\\n|\\\\n|\$|;%', $rawData );
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Top