c.execute("SELECT * FROM entries WHERE (title LIKE ? OR body LIKE ?) order by date desc", ("%%%s%%" %text, "%%%s%%" %text)) Notes Putting %?% does not work "%?%" does not work Double percent sign (%%) due to python string substitution rules
I've moved to kaushikghose.wordpress.com