Helix Installation   Getting Started   Reference Documentation   Global Functions   Quick Start
ModulesClassesFunctions
 

Function Reference

remove_newlines ( string )

Description
No description.
 
Parameters
requiredstring
 
Code
714  function remove_newlines($string)
715  {
716      if (is_array($string))
717      {
718          foreach ($string as $key=>$item)
719          {
720              $string[$key] = remove_newlines($item);
721          }
722      }
723      $string = preg_replace('/[\r\n]/','',$string);
724      return $string;
725  }
Get Helix PHP Framework at SourceForge.net. Fast, secure and Free Open Source software downloads