Protect your website in case someone attempts to hack them using the macro sc_sql_injection().
It implements SQL Injection Protection code in Scriptcase text boxes.
sc_sql_injection (field/variable)
Protects the field/variable against “sql injection”.
Macro used for protection against “sql injection” in commands generated by the developer (macros: sc_lookup, sc_select or sc_exec_sql).
Note that all database accesses, generated for the Scriptcase, have protection against “sql injection”.
Ex1: Protecting a local variable:
$field_protect = sc_sql_injection({my_field});
Ex2: Protecting an user variable:
$field_protect = sc_sql_injection($my_var);