Dynamic selection list: link to another page

Hello

Following the list of dynamic selection at the bottom of page "product.php" (www.dolls.com.sg)

< div id = "selectcat" >

< select name = "Catégories" >

<? PHP

{}

? >

< option value = "<?" PHP echo $row_rsCategories ["categoryName"]? > "<?" PHP if (!) () strcmp ($row_rsCategories ["categoryName"], $row_rsCategories ["categoryName"]))) {echo "selected = \"selected\"" ;}? "} > > <? PHP echo $row_rsCategories ["categoryName"]? > < / option >

<? PHP

} While ($row_rsCategories = mysql_fetch_assoc ($rsCategories));

$rows = mysql_num_rows ($rsCategories);

If ($rows > 0) {}

mysql_data_seek ($rsCategories, 0);

$row_rsCategories = mysql_fetch_assoc ($rsCategories);

}

? >

< / select >

My goal is, whenever a visitor clicks on a category in the drop down menu, it is transmitted to the respective page "categories.php".

How can I do?

Thank you

Helmut

Change your code to this:

In categories.php, use $_GET ['categories'] to filter the Recordset.

Tags: Dreamweaver

Similar Questions

  • By the way Select list value to another page via report link

    Hello

    I have a page 1001 with an item from the selection list (SLI), a button (BTN) and a report (EPR).

    After selecting a value of the element of selection it s possible to click on the button.

    After clicking the report button will display the data. Report structure: ID, COL1, COL2, COL3, COD values in COL1 is the links to the page 1011.

    I managed to pass the value of a column in the report, but how to pass the value of SLI this link?

    I tried: SLI, SLI, #SLI # and & SLI... but nothing has worked.

    You have an idea?

    1013248 wrote:

    Please update your forum profile with a real handle instead of '1013248 '.

    I have a page 1001 with an item from the selection list (SLI), a button (BTN) and a report (EPR).

    After selecting a value of the element of selection it s possible to click on the button.

    After clicking the report button will display the data. Report structure: ID, COL1, COL2, COL3, COD values in COL1 is the links to the page 1011.

    I managed to pass the value of a column in the report, but how to pass the value of SLI this link?

    I tried: SLI, SLI, #SLI # and & SLI... but nothing has worked.

    You have an idea?

    Use the exact static text substitution method to reference the value of the element. This requires an end point ('.) ») :

    &SLI.
    
  • How to assign URLs dynamically using button/link on the page of peoplesoft? Please provide detailed instructions.

    How to assign URLs dynamically using button/link on the page of peoplesoft? Please provide detailed instructions.

    1. define the URL, the Z_URL1 or the Z_URL2 definitions

    2. in the change of field button:

    If true Condition then

    ViewURL (URL. Z_URL1);

    On the other

    ViewURL (URL. Z_URL2);

    End - if

  • Newbie question - assign a link to another page

    Given a page pdf with existing text, how to assign a link to another page.

    Example: A directory of profiles:

    Name 1

    Name 2

    Name 3

    Name 4

    .

    .

    .

    N name

    I want to assign the text 'Name 1' a link to the pdf page that contains the profile corresponding to that name.  (I already know the pdf page number that contains the profile, so I can give you to post a link of dialogue).

    Thank you

    Bill

    I remembered, you have to be indirect.

    When I drag the box and release a dialog box appears offering the choice of:

    Go to a page view

    Open a file

    Open a web page

    Personal link

    Option 1

    Choose go to a page view

    Navigate to the page you want (for example, type the number in the space on the toolbar)

    Click the Set link

    Option 2

    Choose go to a page view

    Click the link Set (puts in place the link to the current page)

    Double click on the new link

    Click the Actions tab

    Click on change

    Change number & click OK twice

    Option 3

    If you use Word or InDesign, links can be generated automatically from an automatic content table, such as the PDF is done (not later)

  • How to link to another page in the same application?

    I think I have right now a brain fog. Cause I can't understand this.

    I would like to make a link to another page in the same application through just an arbitrary word in a paragraph.

    I'm not trying to spend all the values. I do not use a button or a text element.

    How can I make a link to a Word?

    Thank you very much
    Maggie

    Hi Maggie!

    I imagine me, that you have a html text and you want to have a hyperlink to another page in your application.

    For example, you have a text like: "I want to create a hyperlink to a page.

    Now, if your mouse passes the word 'hyperlink', you want to see this magic 'hand '.

    First copy the URL of the target page: something like this-> "http://127.0.0.1:8080/apex/f? ' p = 100:2:3122716493255005:NO:

    Changing your text to html in this way:

    I want to create a hyperlink to a page

    I hope it helps

    Gerhard

  • Problems with dynamic selection lists in IE7

    I have another problem related to the last one I posted here: http://www.adobe.com/cfusion/webforums/forum/messageview.cfm?catid=217 & threadid = 1385428

    I have a list of dynamic selection populated by a SQL Server database.

    I want to select all the items in the list if you have selected a particular item. The code I wrote works fine in Firefox, and I'm assuming that other browsers as well. It does everything not in IE and the specific test does not not in IE7.

    I can't use the fix suggested for my last question, because this time I want all of the selected options and selectedIndex applies only to a single option.

    Any ideas on what I can do to make it work in IE7?

    Here is the code I use:

    I have provided a solution to this question in another forum:

    http://www.Tek-Tips.com/viewthread.cfm?QID=1495671&page=1

    Thank you
    Jesse

  • dynamic selection list hangs with php

    Hi all

    I can't get a list of dynamic selection of work in dreamweaver. It completely crashes whenever I try to add to my page. I found someone else in the forum who had the same problem, but no one ever answered. I've tried several things, including putting just the dynamic record and select on its own page with no other code in this regard. He always breaks DW. I also tried this coding myself by making a listmenu and change it so that the value of the option equals a value PHP echo. It crashed too much here. Does anyone have a piece of code with a selection list dynamic work that uses a recordset that I could look at? This way I can see where I am going wrong. All I'm trying to do is to get a simple drop-down menu select list of employee names, so anyone can choose their name for advice. This is a table, a set of records 2 fields (first and last name).

    Using DW CS3, php & MySQL, windows XP Pro

    Any help would be really appreciated!

    That's all! Thanks a lot for your help!

  • How to link to another page anchored using the tool?

    Hello

    I use the point (arrow tool) to post a link to anchors in my current page.  Is there a way of linking to anchors with the tool in another page (in other words I do not work on) or must it be done manually?

    Thank you

    Jake

    In the field of link in the properties panel, you must type the name of div ID or anchor in manually, preceded by a sign #.

    Link: some_page.html #ID

    Nancy O.

  • Creating buttons in flash and linking to another page

    Hello

    I'm a flash newbie. I am a student of multimedia!

    I know how to create buttons in flash and put stocks at these buttons. EX: If I add several videos in different scenes in flash, with a back and next button, adding actionscript to go and play or go and stop, I can do it! However, I don't know how to define actions for buttons created in text or buttons created in photoshop, illustrator, fireworks... imported into flash, and linked it to another page (section) of my web site.

    About me, Portfolio, Services, Contact (written text). How I make the text in buttons and link them to another page of my website and the who on the contact button?

    Thank you

    If it is the actionscript code that you are not familiar with so what you do is to assign an instance name unique for your button when you put on the stage and then assign a code to the it... say you gave an instance of 'contact_btn' button, and then in the layer name actions in the corresponding frame to this button (different lasyer) you d code...

    contact_btn.onRelease = function() {}

    getURL ("http://...your pageurl");

    }

    If this isn't what you're looking for, you've lost me.

  • A link to another Page

    Is there anyway to send a link from a page to a specific part of another page, i.e. beginning of a topic to halfway in a page. I think I've seen this done before, but have no idea how do.

    Thank you

    Link to a specific location in a document

    http://help.Adobe.com/en_US/Dreamweaver/CS/using/WScbb6b82af5544594822510a94ae8d65-7c34a.h tml

  • Flash banner for posting a link to another page

    Now with Flash Cs4 could not find a way to link the banner to another page.

    That's what I wrote about Actionscript:

    inv_btn.onRelease = function() {}
    getURL ("http://www.sanpedrofashion.com/contactus.php" "self");
    }

    AND THIS ERROR MESSAGE:

    1084: syntax error: rightparen before self expection.

    THANK YOU FOR READING AND OF LITTLE HELP PLEASE

    You can still code as you did in studio mx, you just set your publication to AS2 settings.

  • How to make a title of region as a link to another page?

    Hello
    I need hyperlink, a title in the region, so when I click in the title I'll go to another page in the application without connection again, in other words to keep the same session.
    Thank you
    Abdul

    Published by: dtabed on May 12, 2009 13:40

    Abdul

    The full link would be

     http://host:port/pls[if using mod_plsql handler]/f?p=&APP_ID.:&APP_PAGE_ID.[if to a specific page]:&APP_SESSION.
    

    Hope this helps

    See you soon

    Ben
    http://www.munkyben.WordPress.com
    Don't forget to mark the answers useful or correct ;)

  • Two Select lists with Submit single page branching to different page each?

    Hi all

    I have a page (No. 1) with two 'select list with Submit"(A and B). This page contains also two branches defined. I want to realize that the first list selection with present (A) would always use the first branching (at page n ° 2) and the select list a second with the submit (B) would use the second fork (at page no. 3).

    How can I achieve this? Y at - it a tutorial describing lists of selection and the ramifications?

    Thank you for your time.

    Daniel

    When the selection list submits the page, the value of "motion" is the name of the selection list item. So all you need to do is add a condition to each Directorate-General: Request = Expression 1 and enter the name of the element (top) in the field of 1 the condition Expression.

    Scott

  • How to create a text that links to another page in the login page

    Hello

    I need this more basic things, but no one seems to be asking here.

    In the login page, I want to add a "Register" text when you click on sends the user to another page to register.

    With a button, its simple because its built-in, but I don't want a button, just that: register

    I also want to have the text in colour not black.




    Thank you.

    Leckraj

    Like this

    "Register " 
    

    Use your Page URL ' f? p = & APP_ID.: 2: & SESSION.' instead of #.

    Thank you
    Adkins

  • How can I use OpenScript to select a link, if another link is not present

    Hello

    I have a project where the script I'm running has the possibility to select two links (lets call them link A and B a link). When the bed script by default is click the link B, but there are cases where link B is not present and I need a link to be selected instead. How can I define OpenScript to recognize this link B is not present and proceed to the type link A click and continue?

    John the Baptist says:
    Hello user
    You can use the object test or matching text to test to see if the object (link) is there.
    You must check the box "Check only, never failed" to avoid an event has failed.
    Then you insert an if statement based on the result of the previous action with the "{{result.summary}}" variable equal to WARN (check than the first) or equal to PASS if the criterion of the object of trial or corresponding text was correct or not

    Good luck and have fun
    JB

    I forgot to check if it is functional script... I guess that's

    Here is a code that you can use to meet your needs:

    beginStep ("Google [1] (/ www.google.com.tr/)", 0 ");
    {
    Web.Window (2, "/ web:window[@index='0" [or @title =' about: blank'] "")
    . Navigate ("http://www.google.com/");
    Web.Window (4, "/ web:window[@index='0" or @title = "Google"] "")
    .waitForPage (null);
    Web
    () .link
    7,
    ("[" / web:window[@index='0 "or @title='Google']/web:document[@index='0']/web:a[@text='Google.com in English 'or @href ="http://www.google.com/ncr"or @index = ' 32']")
    () .verifyAttributes
    'my Test ',.
    Web.Attributes (web.attribute ("text",
    "Google.com format."
    TestOperator.StringExact)));
    getVariables () .set ('my State', "{{result.code}}", ")
    Variables.Scope.GLOBAL);
    Info ("my status: {{status}}");
    If (eval ("{{My Status}}") .contains ("WARN")) {}
    Info ("click on the link1");
    } else {}
    Info ("click the Link2");
    }
    Think (62.494);
    Web.Window (16 "/ web:window[@index='0" or @title = "Google"] "")
    . Close();
    }
    endStep();

Maybe you are looking for

  • Send button on new emails in gray

    All of a sudden I have a send button greyed when I try and send a new email - but I can always respond to emails. GR, I tried uninstall mail account, and then reinstalling but it did not help.  I also tried another account, but it's the same (i.e. Gr

  • How can I delete the 'other' of additional storage on MacBook Pro

    I have 250 GB of storage on my MacBook Pro.   I am running OSX El Capitan, version 10.11.2.  I only 3.5 Gig left and try to delete files to make more room.  I backed up the videos and photos.  Can't delete photos (no longer using iPhoto, but just the

  • Satellite A300-1EH self wake up about 5-20 min from Turn-off

    I have the problem for a week with my Toshiba A300-1EH PSAG4E-03601RPL. After correctly, shut down computer laptop auto wake up about 5-20 min from the fork. I disabled the Wake-On-Lan in the BIOS for the LAN & WLAN. I have out-of-box BIOS version 1.

  • Horizontal black lines on CP1515N

    Hello My CP1515N of HP color laser printer has started to produce horizontal black lines. Lines are about 27mm and begin at different places on each page. The unit has printed only about 2500 pages. I don't know what is the cause. Pages that are tota

  • Disc lost for Age of Empires 3

    I bought legally your game, Age of Empires Gold Edition 3, about a year ago. I sincerely enjoyed until The Warchiefs expansion disc was lost in a recent move. Is there a way I can download the files needed to install it? Thank you