This is the error displaying in the browser after I have redirected the form.

error
Not Found

The requested URL /shoes/stores/itemdetails.php was not found on this server.
redirection:
PHP Code:
 header("Location: http://localhost/shoes/stores/itemdetails.php?id=$id");exit;