Counter using update in Wordpress

Asked

Viewed 16 times

1

I’m trying to create an accountant, but the code is not increasing one more, could help me?

$wpdb->update('QuantidadeTestes', array('QtdTeste' => QtdTeste+1), array('idUsuario' => $user_info->ID), array('%s'),array('%d'));
No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.