I've created (with help from some code from the site) a function to make
strings or arrays mysql safe. It works just fine, assuming you pass your
variables by reference ( sqlSafe(&$var) ), but I get this error every time
it is used:
[error] PHP Warning: Call-time pass-by-reference has been depre
Timo,
If you use func_num_args() to ascertain the number of arguments passed to
the function and func_get_arg() to retrieve each argument in turn (from a
list of unstated length), will that do the trick?
Regards,
=dn
> I've created (with help from some code from the site) a function to make
>
Good luck,
Kevin
> - Original Message -
> From: "Timo Ewalds" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Tuesday, August 27, 2002 11:21 PM
> Subject: [PHP] variable reference parameters
>
>
> > I've created (with
3 matches
Mail list logo