#1
  1. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jun 2000
    Posts
    145
    Rep Power
    15
    Hello All,

    I wrote a small script that is a quick jump navigatinal menu. It is a simple form that redirects to a processing page that simply changes the header information for an automatic redirect based on what the user selected. Is there an easier way to do this, is it possible to have the selected URL from the menu automatically entered in the browser - without having a processing page?

    Just wondering - it would be nice and alot faster without the extra page request...
  2. #2
  3. Banned (not really)
    Devshed Supreme Being (6500+ posts)

    Join Date
    Dec 1999
    Location
    Brussels, Belgium
    Posts
    14,642
    Rep Power
    4492
    You can have your processing page just include the next file, rather than forwarding to it. Have the value of your menu be the name of the next page you want to load.

    process.php
    *****************
    <?php
    include($menu_page);
    ?>

    That's all the processing you'd have to do.

    ---John Holmes...

    ------------------
    *************************************************************
    * The manual can probably answer 90% of your questions... *
    * *
    * PHP Manual. www.php.net/manual *
    * MySQL Manual: www.mysql.com/documentation/mysql/bychapter *
    *************************************************************
  4. #3
  5. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jun 2000
    Posts
    145
    Rep Power
    15
    Slick... Thanks... I did not even think of that.

Similar Threads

  1. styling a jump menu
    By hiredassassin in forum HTML Programming
    Replies: 0
    Last Post: February 3rd, 2004, 09:57 PM
  2. Replies: 4
    Last Post: January 22nd, 2004, 10:33 AM
  3. PHP with UnixODBC
    By coder4hire in forum PHP Development
    Replies: 2
    Last Post: January 20th, 2004, 01:14 PM
  4. drop down php menu value wont show
    By alexmasters in forum PHP Development
    Replies: 2
    Last Post: January 19th, 2004, 05:31 AM
  5. jump menu with an asp variable
    By bleutiger in forum ASP Programming
    Replies: 4
    Last Post: January 11th, 2004, 01:17 PM

IMN logo majestic logo threadwatch logo seochat tools logo