joules
joules
CC#
Created by joules on 10/15/2023 in #help
❔ Is this enough to clean a database entry?
I'm entering user-defined text into an SQL table but dont want my tables getting dropped. Does this work?
if (unsafeText.Contains('\'', '\"', '`'))
{
//give error message
return;
}
if (unsafeText.Contains('\'', '\"', '`'))
{
//give error message
return;
}
13 replies