i need to input a value into sql query, here is my code:
"UPDATE xxx SET status = (%s) WHERE author LIKE (%s)", ("OK", phone))
author value should start with value that i pass in 'phone' var
how should i write sql query in this case?
i need to input a value into sql query, here is my code:
"UPDATE xxx SET status = (%s) WHERE author LIKE (%s)", ("OK", phone))
author value should start with value that i pass in 'phone' var
how should i write sql query in this case?