<?php
$value = intval( $_GET['value'] );
$value = isset( $_GET['plus'] ) ? ++$value : ( isset( $_GET['minus'] ) ? --$value : $value );
$value = $value < 1 ? 1 : ( $value > 100 ? 100 : $value );
?>
<form>
<input name="value" value="<?=$value?>">
<input type="submit" name="minus" value="-">
<input type="submit" name="plus" value="+">
</form>