Counter using update in WordPress

1

I'm trying to create a counter, but the code is not incrementing one more, could you help me?

$wpdb->update('QuantidadeTestes', array('QtdTeste' => QtdTeste+1), array('idUsuario' => $user_info->ID), array('%s'),array('%d'));
    
asked by anonymous 03.11.2017 / 16:55

0 answers