Keys →
Functions ↓
function convertToVariable ( $v ) {#-k DB#- given a string, makes sure it can be stored in a SQL field#-d 04/07/12 - Added $fr = array( "'", '-', '/' ); $to = array( '`', '_', '_' ); $r = str_replace ( $fr, $to, $v ); return $r; }?>