Changing screen/page using PHP

Hi all

What methods are avialble for opening/linking to a different page on my web application using PHP.

Using a link in my NTML file its easy - just code in a

  • Students
  • and that works fine

    But sometimes I want to do some screen validation before moving to the new screen, and only link if happy my user has entered correct data on the screen they are on - for example - password validation.

    I’ve been using code like this

    $nextScreen=“Location: “.$row[‘preference’].”.php”;
    echo "Next Screen ".$nextScreen; (temp line just to check I’d set up the variable)
    header($nextScreen);

    This was working, but I’ve just changed to a new webspace provider and its not working any more.

    Are there other ways of achieving the same result. It seems like the simplest thing to try to achieve

    THanks

    and while I’m in… I’ve jumped in to post my query - which might be bad form - without exploring the site… is there a way of EDITING posts… I didn’t mean to put a link into my application, but I seem to! Its only a test site at present, but didn’t mean to include a link into it here

    Sponsor our Newsletter | Privacy Policy | Terms of Service