• Hi I am trying to make a header statement with a variable which could take the variable to the next page.

    I tried
    header('Location: https://url?id=$ID');

    But it does not work,probably WP pages does not contain extension

    could someone help me? thanks

  • The topic ‘Add a variable in Header statement’ is closed to new replies.