Helix Installation   Getting Started   Reference Documentation   Global Functions   Quick Start
ModulesClassesFunctions
 

Function Reference

sql_real_escape_string ( s , db_type ["MYSQL"] )

Description
No description.
 
Parameters
requireds
optionaldb_type ["MYSQL"]
 
Code
592  function sql_real_escape_string($s, $db_type=DB_TYPE)
593  {
594      switch ($db_type)
595      {
596          case "MYSQL" :
597              return  mysql_real_escape_string($s);
598              break;
599          case "MSSQL" :
600              return  str_replace("'","''",$s);
601              break;
602          default :
603              return $s;
604      }
605  }
Get Helix PHP Framework at SourceForge.net. Fast, secure and Free Open Source software downloads