Yeah, mysqli is great. Once you've used the power of DBI over roll-your-own-string-SQL, you can't go back.
Kirby, then, can I ask you: What is the best way, in vB / PHP, to ensure that all data passed to the INSERT is quoted and escaped properly?
(Doing it by hand can get tricky, with nulls, quotes, slashes, charsets, etc. - especially when you don't want to strip anything, just get it to the DB safely).
|