Update index.php

Value now displayed along with result
Set default values for 'value' and 'output'.

Prevents PHP errors on startup.

Signed-off-by: Duncan <duncan@oeith.co.uk>