404 redirection

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?

sorry, i found the solution here.

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  

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