Hi,

I just gave the subject some more thinking, and I believe the best way
would be to export a 'DB_escape_string' function to other modules and
core, so that when a module needs to construct an SQL statement, it
would just concatenate the template string with the result of
DB_escape_string(StringToBeInsetedInTheStatementWhichMayContainAlienCharacters).

In fact I'm surprised it can work at all with other DB backends without
such a function.

I need to take a look at that.

Cheers,
Jerome


_______________________________________________
Devel mailing list
Devel@openser.org
http://openser.org/cgi-bin/mailman/listinfo/devel

Reply via email to