Hashtag in input Sqlite3 query gives error

Use a parametrised SQL query to properly escape user input:

c.execute('SELECT * FROM qwerty WHERE uid = ?', [uid])

Never construct SQL statements from raw string inputs to avoid SQL injection vulnerabilities.

CLICK HERE to find out more related problems solutions.

Leave a Comment

Your email address will not be published.

Scroll to Top