Heya All,

I've been a long-time lurker on the irc channel, helping where I can.
One question that constantly pops up is "what's the sqlite equivalent of
mysql_real_escape_string?"

One doesn't like to necessarily answer that particular question as
posed, so up until now I've been explaining each time how to use
prepare->bind->step; the examples on the wiki either don't
demonstrate the point [http://www.sqlite.org/cvstrac/wiki?p=SimpleCode],
or are a lot more complex than necessary
[http://www.sqlite.org/cvstrac/wiki?p=SampleCode]

I've written what I think is a lot simpler/clearer example here:
http://icculus.org/~chunky/stuff/sqlite3_example/sqlite3_example_bind.c

That code pretty much answers 3/4 of the questions I regularly see on IRC.

Not sure if that's really of interest to anyone, but if it is, great!

Thanks,
Gary (-;
_______________________________________________
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to