It is possible. Are you intending this to be on an admin / staff page?
To do it, you’d first have to get the current quantity from the database (assuming you’re using an ID) then add one and then store the result.
[php]$id = 2;
$result = mysql_query(‘SELECT quantity
FROM some_table
WHERE some_table
.id
="’ . $id . ‘"’);
if(mysql_num_rows($result) == 1) {
$row = mysql_fetch_array($result);
$qty = $row[‘quantity’];
mysql_query(‘UPDATE some_table
SET some_table
.quantity
="’ . ($qty + 1) . ‘" WHERE some_table
.id
="’ . $id . ‘"’);
} else {
echo 'Failed to find item with ID of ', $id;
}[/php]