Use session data. It is stored on the server and kept between page loads.
Page that determines errors:
<?php
session_start():
// something happens here to cause errors
$_SESSION['my_error'] = array(
'Field 1 is incorrect',
'Field 3 is incorrect'
);
// whatever happens here to send user to next page
Page that displays errors:
<?php
session_start();
// check for set errors
if (isset($_SESSION['my_error']) && !empty($_SESSION['my_error']))
{
foreach ($_SESSION['my_error'] as $error)
{
echo $error.'<br>';
}
// unset them if not needed anymore
unset($_SESSION['my_error'];
}