You could either send the values in the url www.mydomain.co.uk?value1=val&value2=val2
and then get the data from there (assuming you are okay with this security wise). Or like it has already been mentioned you could set session values:
ie:
<?php
session_start();
$_SESSION['value1'] = $val;
$_SESSION['value2'] = $val2;
sessions are probably the way to go tbh.