test
|
| Posted: 03/31/2002, 7:09 PM |
|
i dont understand this function
its in common.pm and its being called from a perl file.
ToSQL($pPKuser_id, "Number");
wat is it really doing????
thanks
|
|
|
 |
CodeCharge Support
|
| Posted: 04/01/2002, 1:52 AM |
|
Hello,
ToSQL() function converts the value for use with the SQL statement. In text type field it replaces single quote with a double quote. This prevents any command entered e.g. in text field from execution. If fields are numeric then script will fail trying to convert it to number. If you're using custom sql please use tosql(param_name,type) function for security reasons.
|
|
|
 |
|