I see a function GetSQLValueString and I don\'t know what is it dealing with, could someone give me some idea?
Thanks you
function GetSQLValueString($t
From my understanding this function is probably to escape some data to pass it to MySQL. The function also handles null values and put some quotes if needed.
it should be used this way
GetSQLValueString("a value that I want to escape's", 'text');
see the SQL injection problem to understand why this function exists