Redirection error using header();

Discussion in 'PHP' started by co.ador, Jul 13, 2009.

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

    error
    redirection:
     header("Location: http://localhost/shoes/stores/itemdetails.php?id=$id");exit;
    
    
    PHP:
     
    co.ador, Jul 13, 2009 IP
  2. co.ador

    co.ador Peon

    Messages:
    120
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Never mind I had a typo inside the url string inside the header(): that's find it was not able to find the webpage I was trying to output inside the header function

    Now it is redirecting.........
     
    co.ador, Jul 13, 2009 IP