$code = $_GET['code'];
$text = isset($_GET['errortext']) ? $_GET['errortext'] : "";
switch($code) {
case 100:
?>Database Connect Error.
Could not establish a connection to the database.
break;
case 101:
?>Database Select Error.
Could not select the correct database.
break;
case 102:
?>Query Error.
Could not execute the query.
break;
case 103:
?>Record Not Found.
The record you requested could not be found.
break;
case 104:
?>Invalid Parameter.
An invalid request parameter was submitted.
break;
case 105:
?>Invalid Session.
The session is not valid or has expired.
break;
case 106:
$text = "
";
?>Basket is Empty
Your basket is empty, please add some items before checking out.
break;
case 107:
?>Access Denied.
You do not have permission to view that record.
break;
case 108:
?>Cannot Delete.
This record cannot be deleted.
break;
case 109:
?>Race has expired.
Race entry is now closed for this race.
break;
default:
?>An unknown error has occurred.
An unknown error was generated.
break;
}
?>
The most likely cause of the problem is that the site is very busy or undergoing maintenance, please try again later.
} ?>