404 redirection

#1
[eluser]einsteinity[/eluser]
how to automatically redirect a request of a page to 404 page if the ID is not found in database?
the page's content will show data corresponding to the ID into a table.
any idea?

#2
[eluser]einsteinity[/eluser]
sorry, i found the solution here.


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2020 MyBB Group.