|
Hiyas, Just stuck on a little problem.
at the moment I have error variables store with information -
error.php
<?
$exc1001 = 'Email addresses does not match!';
$exc1002 = 'Wrong username and/or password';
$exc1003 = 'Incorrect password';
?>
Now when the a script outputs an error its redirected to this error page.
It stores what error it has encountered in the address bar.
error.php?error=1001
What I am wanting is instead of using lots of if's to write a simple script that checks what error is in the address bar and then check the list of errors, then outputs that error.
__________________
Websites Created;
warscope.com
ratepayers.org.nz
|