CodeCharge Studio
search Register Login  

Web Reports

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

YesSoftware Forums -> Archive -> GotoCode Archive

 wats this for

Print topic Send  topic

Author Message
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.

   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

PHP Reports

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.