I have 2 standard scripts, one for user entry form and another script for the form processing script.

part of the form processing script checks whether the user correctly entered the information and if not returns back to the user entry form to displays error messages.

the question more or less is round the method im using to return back to the calling script, is it the right way or is there a better way to return back to the calling script for user correction.

PHP Code:
if(count($fieldErrors) > 0)
$errorString '<p>There was an error processing the form.</p>';
$errorString 'ul>';
$fieldErrors as $errorVal)
$errorString .= "<li>$errorVal</li>"; }
$errorString .= '</ul>';
    include (
'../template/projectrequest.inc.php');    //user entry form