/ Published in: MySQL
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
$sql = "UPDATE tablename SET field = field+1 WHERE somefield = $fieldvalue";