In the following code:
print(str(processedEmails))
print(campaignId)
returns values I was expecting.
What I'm trying to do (why I ran print() statements to check):
cursor.execute('UPDATE campaigns SET campaign_finish_date = (NOW()) AND queue_size =' + str(processedEmails) + ' WHERE id=' + campaignId)
checking via phpMyAdmin:
NOW() = 0000-00-00 00:00:00.000000
campaignId = 0 (what I set as default)
Values not transferred.
What am I doing wrong?