I need to make on duplicate key update query, looks there is something missing in my query. This query works fine with # in values I need to add ON DUPLICATE KEY UPDATE. This query works fine with on duplicate update but I need to add # in values to make it SQL injection safe. I am trying this with
Tag: question2answer
How to prevent SQL injection in Question2Answer?
I want to prevent SQL injection in Question2Answer. This is how I store data in MySQL via HTML form. I know it’s a security risk. Examples – OR and SQL query is – How should I post data in the latest PHP 7 and above version? I think escaping strings is deprecated or outdated. Answer Based on what little information