Location is the header. Technically it requires a full URL in order to redirect, but most of the time it will accept a relative url to the page you want to redirect to. It assumes your site if it cannot find a fully qualified url.
Also, add an exit(); after the header unless you want the page to continue processing. These are generally used in if/else type block checks, so you only redirect if the user meets some criteria so it makes sense to add the exit anyway.
As of PHP 5.5, the MySQL library has been officially deprecated. It is recommended to move to either MySQLi or PDO libraries for your mysql connectivity. See here for help choosing which interface you prefer: http://php.net/manual/en/mysqlinfo.api.choosing.php
Thank You. Unfortunately it gave me this error message:
Warning: Cannot modify header information - headers already sent by (output started at /hermes/bosweb/web226/b2264/sl.garryplaza/public_html/delete_maint_req.php:6) in /hermes/bosweb/web226/b2264/sl.garryplaza/public_html/delete_maint_req.php on line 62
But WHY do you need to do it after you display information? Can you post your code please? Almost always you don't need to send a header after you display information, headers are sent normally before any output.
||||If you are getting paid to do a job, don't ask for help on it!||||