procedural/tasks/util.php
# Outputs an error message if it exists in the specified index.
Outputs an error message if it exists in the specified index.
Outputs an error message if it exists in the specified index .
function displayError($index)
{
    global $validationErrors;
    if (isset($validationErrors[$index]))
        echo $validationErrors[$index];
}
function displayError ( $ index ) { global $ validationErrors ; if ( isset ( $ validationErrors [ $ index ] ) ) echo $ validationErrors [ $ index ] ; }
Outputs an error message if it exists in the specified index.
Outputs an error message if it exists in the specified index .