Hi,
In my website, if any user enters wrong/invalid input, i pass a error number to a page, like 'error.php?err=2'
In error.php page I have a big list (around 60) of error messages, like invalid username, invalid email...etc. Based on the err# I display the appropriate message.
But it is becoming difficult for me to maintain the code, if I want to change anything. Could anyone tell me how to do this in a more efficient way.
Thank you
senthil