<? //preparas la url. $url = 'vis_req.php?nro_req=loquesea'; ?> <input type="button" onClick="document.location = '<? echo $url;?>'" name="cancelar" value="Finalizar">