Displaying title in the next page dynamically, how?

I have tour pages each with a different tour title ..
like this one :
what I want is , when anyone clicks "Reservation" button on the top left ,, the tour title is automatically shown on the top of the reservation page (Program Name) :
Program name : (Alexander The Great)
how can I achieve that ?

okay now I want to apply this on a wide scale ..
I have 26 tours and I modified each reservation link with a new tour value
tour=new different value for each
and this is my select code :
<select name="Program Name" id="Program Name" tabindex="5">
<option<?php if ($_GET['tour'] == "") { ?><?php } ?>>Choose A Tour</option>
<option<?php if ($_GET['tour'] == "al_the_great") { ?> selected="selected"<?php } ?> value="Alexander The Great">Alexander The Great</option>
<option<?php if ($_GET['tour'] == "test_of_egypt") { ?>selected="selected"<?php } ?> value="Test Of Egypt">Test Of Egypt</option>
<option<?php if ($_GET['tour'] == "romantic_nile") { ?>selected="selected"<?php } ?> value="Romantic Nile">Romantic Nile</option>
<option<?php if ($_GET['tour'] == "q_neferari") { ?>selected="selected"<?php } ?> value="Queen Nefertari">Queen Nefertari</option>
<option<?php if ($_GET['tour'] == "king_tut") { ?>selected="selected"<?php } ?> value="King Tut">King Tut</option>
<option<?php if ($_GET['tour'] == "k_treasure") { ?>selected="selected"<?php } ?> value="King Treasures">King Treasures</option>
<option<?php if ($_GET['tour'] == "egypt_reefs") { ?>selected="selected"<?php } ?> value="Egypt Reefs">Egypt Reefs</option>
<option<?php if ($_GET['tour'] == "tut_dive") { ?>selected="selected"<?php } ?> value="King Tut Dive">King Tut Dive</option>
<option<?php if ($_GET['tour'] == "nile_legend") { ?>selected="selected"<?php } ?> value="Nile Legend">Nile Legend</option>
<option<?php if ($_GET['tour'] == "ram_dolphins") { ?>selected="selected"<?php } ?> value="Ramses &amp; Dolphins">Ramses &amp; Dolphins</option>
<option<?php if ($_GET['tour'] == "red_sea_dolphins") { ?>selected="selected"<?php } ?> value="Red Sea Dolphins">Red Sea Dolphins</option>
<option<?php if ($_GET['tour'] == "sea_sun") { ?>selected="selected"<?php } ?> value="Sea & Sun">Sea & Sun</option>
<option<?php if ($_GET['tour'] == "baharya") { ?>selected="selected"<?php } ?> value="Baharya Discovery">Baharya Discovery</option>
<option<?php if ($_GET['tour'] == "desert_lovers") { ?>selected="selected"<?php } ?> value="Desert Lovers">Desert Lovers</option>
<option<?php if ($_GET['tour'] == "egy_adventure") { ?>selected="selected"<?php } ?> value="Egypt Adventure">Egypt Adventure</option>
<option<?php if ($_GET['tour'] == "adv_grand") { ?>selected="selected"<?php } ?> value="Grand Egypt Adventure">Grand Egypt Adventure</option>
<option<?php if ($_GET['tour'] == "adv_nile") { ?>selected="selected"<?php } ?> value="Nile Adventure">Nile Adventure</option>
<option<?php if ($_GET['tour'] == "nile_felucca") { ?>selected="selected"<?php } ?> value="Nile Felucca">Nile Felucca</option>
<option<?php if ($_GET['tour'] == "nile_sec") { ?>selected="selected"<?php } ?> value="Nile Secrets">Nile Secrets</option>
<option<?php if ($_GET['tour'] == "adv_tut") { ?>selected="selected"<?php } ?> value="Tut Adventure">Tut Adventure</option>
<option<?php if ($_GET['tour'] == "karnak") { ?>selected="selected"<?php } ?> value="Karnack">Karnack</option>
<option<?php if ($_GET['tour'] == "king_mena") { ?>selected="selected"<?php } ?> value="King Mina">King Mina</option>
<option<?php if ($_GET['tour'] == "q_hatchepsut") { ?>selected="selected"<?php } ?> value="Queen Hatshepsut">Queen Hatshepsut</option>
<option<?php if ($_GET['tour'] == "q_cairo") { ?>selected="selected"<?php } ?> value="Quick Cairo">Quick Cairo</option>
<option<?php if ($_GET['tour'] == "sun_ray") { ?>selected="selected"<?php } ?> value="Sun Ray">Sun Ray</option>
<option<?php if ($_GET['tour'] == "sun_sun") { ?>selected="selected"<?php } ?> value="Sun &amp; Sea">Sun &amp; Sea</option>
</select>
is this code right ?
do I need to put this in each select option ?
selected="selected"

Similar Messages

  • How to dynamically give the next page in Smartform

    Hi,
    I have to give the LAST Page dynamically in Smartform. That only the last page the size of the main Window is shorter in length.
    So on Second Last page I want to dynamically give the Next Page as LAST Page.
    <b>I need to know how to give the next page dynamically in Smartform?</b>
    Regards,
    Nitin

    Hi Nitin,
    I am unable to get your requirement clearly but I can help you how to call a page dynamically.
    In the First Page, where you want to call the Last Page dynamically after displaying all the contents, right click and create a <b>COMMAND</b> node. In the General Attributes of the command selec the check box for Go to New page and select the page from the dropdrown.
    First page
       Main Window
             Table Contents
             Command
    Now, after the executing the contents of the First page when the control encounters the command node it dynamically goes to the Page you have mentioned in the command node.
    Regards,
    Tushar

  • Header not getting  displayed in the next page in the second table

    Dear Experts ,
    I have a query regarding Header not getting  displayed in the next page in the second table of the main window. .Let me elobrate the issue.
    I have a smartform in which there are  2 tables TABLE 1 and TABLE 2 in the smartform MAIN window. TABLE 1 is for pending PO and TABLE 2 is  for future delivery date P O separated by text in between.
    Now the header for both the tables and the data are getting displayed properly if the total output is in only one page. But If there are more entries in the TABLE 1 the Header for the TABLE 2 is not getting displayed. Header for TABLE 1 yet gets displayed properly in the next page in case of more entries.
    Only issue is that Header for TABLE 2 is not getting displayed in second page but it gets displayed if the entries are less in TABLE 1 and the total output is in one page .
    Please provide a elobrate solution on this problem as the requirement is urgent.
    Thanks,
    Regards,
    Sachin Hada

    Hi Sachin,
    you need to cteate two pages FIRST and NEXT.
    in first page --> FIRST
        next       --> NEXT
    in next page
      page---> NEXT
      next ---> NEXT.
    you copy the first page main window is the same in next page
    aslo
    I think help ful for you
    thanks & Regards
    BHUPAL.

  • How can I insert text in Pages so it flows to the next page?

    I try copying a block of text into Pages but it cuts off at the end of the page instead of flowing to the next page. How do I fix this?

    You have probably started with a Layout mode template instead of a Word Processing template. See the sidebar in the Template Chooser for which is which.
    Alternatively you may have pasted an object (possibly from the Internet), not text into a Word Processing template. Click inside the object and copy the text, then delete the object and try pasting again.
    Peter

  • Put parapraphs on the next page

    Hi there,
    I got a really simple question but no matter what I tried it doesn't work. I want to make sure, that a paragraph where just the first one or two lines fit on the end of a page are automatically start on the next page.
    How do I do that?
    Greetings.

    Set the Widow/Orphan Lines property (Pagination page of paragraph designer) to 3, telling FrameMaker not to leave fewer than 3 lines of the paragraph on either side of the page break.
          --Lynne

  • How to display header fields names in the next page in report6i

    how to display repeat header field names into the next page in report6i urgent plz......
    When i am runing report in 1st page only the header information is displaying in 2 page the header info is not displaying only records are displaying.So i want to display the header info in 2nd page also.
    Plz help out.

    Hello,
    Go to the report layout model and select those items/objects which are not getting display on next page and open the property pallet by pressing F4 key and set the property Print Object On to All Pages then it will display on all pages.
    -Ammad

  • How to get dynamic fields to spread to the next page?

    Thanks to a couple of wonderful folks on this board. I have found a way to get my dynamic field to move and I have gotten the static text fields below that to move. Now I have another problem. As my dynamic field has expanded towards the end of the page. The static fields ahead of it have disappeared. I know that there is a setting to have the static fields move to the next page. Or is there a way to do it? I would love some help on this.
    Thanks in advance

    I had this issue. I had to wrap the static fields below in a sub form and change the settings on that sub form to flow with content like I did with the original text box. This will push the static forms to the next page on the form, but there is one problem with this that I haven't gotten around. When the text box spans multiple pages, printing the page will not print all of the text. For example. A text box where 45 lines of text are entered, 20 are on the first page, 25 are on the second page. It will display properly, but when printed the text that prints on page 2 will be the same text you see on page one. If I wasn't clear enough on moving the static fields, let me know. I can give you the steps. Hopefully the printing thing won't cause you grief.

  • How can I turn off inherent features of Firefox? (Specifically, it automatically loads and displays the next page, but it will load OVER the current page)

    With this version of Firefox, it automatically loads the 'next' page. When I'm reading blogs, when I click to go back, it automatically loads the first page of the blog as the 'next' page I want to go to. However, it will load this page OVER the page I am on, so that I cannot see it. With some blogs, it is so extreme, I cannot use Firefox on them at all. This isn't an add-on or anything, and I cannot find it in the preferences panel. Can I turn it off somehow/is there a way to in Firefox 4?

    That is not standard behavior. You may have installed an extension that causes it.
    Start Firefox in [[Safe Mode]] to check if one of the add-ons is causing the problem (switch to the DEFAULT theme: Tools > Add-ons > Appearance/Themes).
    * Don't make any changes on the Safe mode start window.
    See:
    * [[Troubleshooting extensions and themes]]

  • BIP Template - How to display form field on next page?

    I have a BIP word template with the below form-fields. How do I display the fk_job_title and p_grade on the next page if it continues on next page (same class title)?
    ** form fields **
    CLASS TITLE: F fk_job_title PAY GRADE: p_grade
    JOB CODE: job_code SALARY RANGE: s1 - s2
    LOCATION OF WORK: work_location
    GENERAL DESCRIPTION: general_descr
    ESSENTIAL WORK TASKS: work_task
    KNOWLEDGE, SKILLS, AND ABILITIES: knowledge_skill
    EDUCATIONAL AND EXPERIENCE: education_exp
    SUBSTITUTIONS: sub
    CERTIFICATIONS/LICENSES: certification_license
    OTHER JOB ASPECTS: job_aspect E
    PB
    Thank you so much,
    MT

    Hi ,
    For the Header on each page...
    http://blogs.oracle.com/xmlpublisher/2010/04/repeat_row_headers_after_page.html
    Number of rows restriction
    http://bipublisher.blogspot.com/2009/06/bi-publisher-conditionally-limiting.html
    Hope this might helpful for you.
    Thanks,
    Ananth
    http://bintelligencegroup.wordpress.com/

  • The next page in not displaying in the SAP Script

    Hello,
    I had one SAP script. There were two pages in the script and i mentioned the next page also for the FIRST and NEXT page as
    First - next page --> next
    and next -- next page --> next
    Now, I am having 3 items which needs to be gets displayed using SAP script.
    The first two items displayed properly but the third item is not getting displayed, as of the size of main window is small.
    Whenver i am increasing the size of main window the third item gets displayed propely.
    But i guess whenever the data will get overflow in main window then it should gets displayed in the next page, this is not happening in my case.
    Can any one tell me, how to display the next page whenver the data will get overflow in main window?
    Please help me with this.
    Thanks in advance
    Regards,
    Darshana

    Hi Darshana,
    if you use text element for the item output, you will need same text element on NEXT page. Check for Typos. Switch on sapscript debugger and check what happens.
    Regards,
    Clemens

  • How to go to the next Page while generating a text file ??

    All,
    I am generating a text File dynamically based on the information from the Database. I need to give some Page breaks after every 80 lines. Does any one has any clue how can I do that.
    I am able to generate the file though.
    Also I need to set the Font to Courier.
    Please let me know if anyone has done anything like this.
    I am using "BufferedWriter" for generating the text file.
    Thanx

    Basically - I have to repeat the header if the records goes to the next Page. My records can increase decrease dynamically as the data is coming from the Database.
    I do not know how to find out whether it has reached the next page or not ??
    If you know by any chance how can I repeat the header once it goes to the next Page that would be a great help.
    Thanx

  • I'm writing a report and need a title page, so I want the auto-numbering to start with the second page. So the title page is zero and the next page will read "1"

    I'm writing a report and need a title page, so I want the auto-numbering to start with the second page. So the title page is zero and the next page will read "1" How do I do this?

    Hi H4S,
    Click at the end of the Tile page.
    Menu > Insert > Section Break.
    Click in the second Section. Insert a page number in the Header or Footer.
    Inspector > Layout > Section:
    Regards,
    Ian.

  • Displaying the Selected Data in the Next Page Upon Selection????

    Hi,
    In my first page i have a list of data set in a displayTag with a
    radio button as a decorator. When the user clicks the a particular
    radiobutton the whole data (record) related to that radiobutton be selected and when the user clicks a button at the bottom the whole(selected data) should be transferred to the next page(jsp page). How
    to do this??? The displayTag is using a formbean . How to get the data
    from the selected record and populate it in the next page ???
    Please do provide an answer for this Since it is quite urgent...
    Thanks,
    --JavaCrazyLOVER                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

    It all depends on how you have the data displayed in the table?
    If u have that information in Session (some kind of array), all you need to do is loop and then find the particular record and display it.

  • How to get data on the next page in case of templates if data is more ?

    please tell me how to get data on the next page while i m using template in my first page , if data is more howw it can be displayed on the next page ?

    HI Asim,
    template is fixed we  it can't be expand . u can better to use table line it can automaticlly expending if data is more ... u can create one more page like page 2 and create a window for entire second page ..then assign it in first page (next page page2).
    regards
    kiran kumar.

  • How can i see the next page in smartform?

    i hav created a Second Page (%page 2) in Smart form.
    and in that page i created one Main window and a table.
    in 1st page, i defined the Next page as Page2 and
    in the second page i defined the Next Page as Page2.
    but only the 1st page is displaying. how can i see the next page?
    what i want to do in smartform...

    Hi,
    The second page will be displayed only when the data does not fit in the main window of the first page and continues to the second page.
    So make sure that you have enough number of line to print that it overflows to second page.
    Ajith

Maybe you are looking for