Helix Installation   Getting Started   Reference Documentation   Global Functions   Quick Start
ModulesClassesFunctions
 

Function Reference

escape ( string )

Description
No description.
 
Parameters
requiredstring
 
Code
682  function escape($string)
683  {
684      if (is_array($string))
685      {
686          foreach ($string as $key=>$item)
687          {
688              $string[$key] = escape($item);
689          }
690      }
691      else
692      {
693          $string = str_replace("'","\\'",$string);
694      }
695      return $string;
696  }
Get Helix PHP Framework at SourceForge.net. Fast, secure and Free Open Source software downloads