So, is it possible to pass a function a variable number of arguments by reference? Everything I have found says no. One page provided a couple of hackish solutions. This is the function I'm working on by the way. I'm using an array to make it possible, but I would rather not.
PHP Code:function sqlite_escape_list(&$array){
foreach($array as $single){
$single = sqlite_escape_string($single);
}
}



Reply With Quote

Bookmarks