How to remove the %20 of the value of parameter of a vertical sprymenubar link?

I have a menu bar vertical, but I want to put a link from the menu to a new page where I sent an acros of parameter value.

Displays the URL:

http://localhost/Category.php?Category=Digital%20Piano

I want that it displays the following text:

http://localhost/Category.php?Category=Digital-Piano

That's what the menu looks like

<ul id="MenuBar2" class="MenuBarVertical">
        <li><a class="MenuBarItemSubmenu" href="Category.php?Category=Digital Piano">Digital Pianos</a>
          <ul>
            <li><a href="#">All digital pianos</a></li>

I tried to use str_replace, but that has not worked

Also I want to make echo the url without the "-" on the home page

Like this..? PHP echo $_GET ['category'];? > where it displays digital piano rather than Digital-Piano

I guess I have to encode the category = Digital Piano, but I have no idea where to start

Hi, Ben thank you for your reply I've actually solved the problem

Let me show you:

Demand

 
  • ">Digital Pianos
  • The results page:

    $varCategory_getResults = "-1";
    if (isset($_GET['Category'])) {
      $varCategory_getResults = str_replace('-', ' ',$_GET['Category']);
    

    This replaces the - with a space and will search the DB

    Thanks again for your help and go through it's hard to read and try to help me with my question

    RIA

    Tags: Dreamweaver

    Similar Questions

    • How to remove the value of the XML attribute in the Indesign file with javascript

      Hi all

      How to remove the value of the XML attribute in the Indesign file.

      1.jpg

      What error is this?

      in any case try this as well (one another),

      var myDoc = app.activeDocument;
      attrDelete(myDoc);
      function attrDelete(elm)
      {
          for (var i = 0; i < elm.xmlElements.length; i++)
          {
              try{
                  for(j=0; j
      

      Vandy

    • How to remove the value of score on scorm?

      I have downloaded captivate 4 scorm 127 to moodle and had the score value, although this is not a quiz, how to remove it?

      moodle.png

      Hello

      Take a look at this thread, I hope that you find the answers here.

      See you soon!

      BR\\

      -Miguel

    • How to display the value of parameter of current session

      Hello

      How can a db user know the value of a parameter of the session, if he doen't have the privilege to access the parameters of v$?
      SQL> conn hr/hr
      Connected.
      
      SQL> show parameter QUERY_REWRITE_ENABLED
      ORA-00942: table or view does not exist
      
      SQL> alter session set QUERY_REWRITE_ENABLED=true ;
      Session altered.
      
      ...
      
      -- how can the user HR know the value of QUERY_REWRITE_ENABLED

      ahmedbaraka wrote:
      Hello

      How can a db user know the value of a parameter of the session, if he doen't have the privilege to access the parameters of v$?

      Like this:

      oracle@g5 ~]$ sqlplus scott/scott
      
      SQL*Plus: Release 11.1.0.6.0 - Production on Fri Nov 6 15:38:11 2009
      
      Copyright (c) 1982, 2007, Oracle.  All rights reserved.
      
      Connected to:
      Oracle Database 11g Enterprise Edition Release 11.1.0.6.0 - 64bit Production
      With the Partitioning, OLAP, Data Mining and Real Application Testing options
      
      SQL>
      SQL>
      SQL>
      SQL> show parameter query_rewrite_enabled
      ORA-00942: table or view does not exist
      
      SQL> set serveroutput on
      SQL> DECLARE
        2    parnam VARCHAR2(256);
        3    intval BINARY_INTEGER;
        4    strval VARCHAR2(256);
        5    partyp BINARY_INTEGER;
        6  BEGIN
        7    partyp := dbms_utility.get_parameter_value('query_rewrite_enabled',
        8                                                intval, strval);
        9    dbms_output.put('parameter value is: ');
       10    IF partyp = 1 THEN
       11      dbms_output.put_line(strval);
       12    ELSE
       13      dbms_output.put_line(intval);
       14    END IF;
       15    IF partyp = 1 THEN
       16      dbms_output.put('parameter value length is: ');
       17      dbms_output.put_line(intval);
       18    END IF;
       19    dbms_output.put('parameter type is: ');
       20    IF partyp = 1 THEN
       21      dbms_output.put_line('string');
       22    ELSE
       23      dbms_output.put_line('integer');
       24    END IF;
       25  END;
       26  /
      parameter value is: TRUE
      parameter value length is: 4
      parameter type is: string
      
      PL/SQL procedure successfully completed.
      

      So read the [Function GET_PARAMETER_VALUE | http://download.oracle.com/docs/cd/B19306_01/appdev.102/b14258/d_util.htm#sthref7801]

    • How to remove the decimal value (. 00) of the slider control

      Please ask me how to remove the decimal value (. 00) of the slider control and Add (if possible) % in after effects cs6.

      I guess you mean to animate text with a slider.

      Add a slider (options for expressions) to your text layer and then add this expression in your Source text:

      x = Math.Floor (effect ("Slider Control") ("Slider"));

      x+" %"

      That's all

    • Please tell me exactly how to remove the AVG search function

      Please tell me exactly how to remove the AVG search function

      edited by a moderator for clarity

      You need not repeat dozens of times or use profanity to get help.

      (1) disable all non-essential or unrecognized extensions on this tab. Don't know what it does? When in doubt, turn off:

      Firefox orange (or the Tools menu) button > addons > Extensions category

      Use the links above a disabled extension to restart Firefox if some seem to.

      (2) restore your Google search engine:

      https://addons.Mozilla.org/en-us/Firefox/addon/SearchReset/

      (3) check a user.js file (before the release of Firefox, otherwise the parameters in this file can cancel your cleaning) as described in this article: How to fix preferences that will not save.

      (4) If AVG search took over your page to the new tab (Ctrl + t), which changes as follows:

      (A) in a new tab, type or paste Subject: config in the address bar and press ENTER. Click on the button promising to be careful.

      (B) in the filter box, type or paste newtab and make a pause so that the list is filtered

      (C) double-click the preference browser.newtab.url and enter the desired value for your favorite page:

      thumbnails (i) (default) Page = > subject: newtab

      (ii) blank tab = > subject: empty

      Firefox homepage integrated (iii) = > topic: welcome

      (iv) any other page = > full URL of the page

      IMPORTANT: If you have AVG software in your Windows Control Panel, you need to remove it.

    • In trying to move the photos to the key, I've accidentally moved into my office - they kept sort of duplication and there is 7 000 or them - how to remove the easily?

      Mac Pro 10.11.4 17 "

      In trying to move photos to the key, accidentlaly I moved into my office - they kept sort of duplication and there is 7 000 or them - how to remove the easily? I've been

      Open your desktop folder in the Finder, then type 'image' in the search field in the Finder window toolbar and value of the research for "kind: Image".

      Define the scope of the search for "Desktop".

      Now, you can select all items in the window by entering ⌘A, then drag the photos in your Inbox.

      Check a second time, that the scope of the research really is 'Office' and not 'this computer '.

    • How to remove the upgrade Windows 7 Professional of D:-drive?

      I bought Windows 7 Professional Upgrade from Windows Vista Home Basic. HUGE MISTAKE! On the Microsoft Store is a nightmare. Finally, I just received a refund. Now, how do the Windows 7 on my D drive where is where idiots to the Microsoft sortore had me download in the first place. now I have vista on drive c and one broke * windows 7 on drive d. HELP, apparently, not a microsoft support t know how?

      If the Visa is still functions (you can load a running Vista), then install EasyBCD and follow the instuctions for EasyBCD listed below. When you are finished with the removal of Windows 7 in the boot (according to instructions) menu, then you can reformat the D: partition, which is where you said Windows 7 was installed.

      ================================================

      EasyBCD - how to remove the invalid entry:
      http://NeoSmart.NET/DL.php?id=1

      When you run EasyBCD, you will see the following great tabs/buttons on the left.

      (1) the display settings: displays the number of entries (bootable version valid and is no longer valid to Windows). The one marked 'default' in the version of Windows that starts if you sit and wait 30 seconds without making a selection using the keyboard. The entrance of remaining are classified by 'Name' (unless renamed all entires will call Windows 7). Drive letter represents the partition that version. If everything that you installed multiple copies of Windows 7 and Vista the path "Bootloader" will always be the same.

      (2) menu of Boot edit: four options 'Up', 'Down', 'Rename' (is very convenient if you want to see a significant name when you first start (I have 5 versions of Windows on one of my test systems, so I reamed the plain jane "Windows 7" "Windows 7 Pro 64-bit" and "Windows 7 Home Premium 32 - Bt, etc." ").)
       
      The last option is "Delete", click on the entry of is no longer valid (for highlight), and click 'delete '.

      You will also see a check mark in the "default" (when 30 timeout expires) version of Windows (vista in your case), the computer will start to place a check mark to one you want to keep.

      Located at the bottom of 'edit Boot Menu' page is the time-out value, if you want automatically to your only remaining version of Windows just place a check mark in the box "Skip boot menu."

      When your done with your changes, be sure to 'Save Settings'.

      J W Stuart: http://www.pagestart.com

    • How to remove the list item empty forms of oracle?

      Hello

      How to remove the list item EMPTY forms of oracle?

      I create two list items

      (1) basic

      (2) advanced

      But when I select list or display the runtime display form element 3 element EMPTY automatically, but I add what it shows I want to delete! How?

      He has named REQUIRED = NO item property

      If you set YES and then it does not show. but you must give an initial value.

      Hamid

    • How to remove the notification validation

      Hello

      I have all my commits the value Inline with field only, but I still get all the validation messages in the notification section and also in the field?

      How to remove the validation section notification messages?

      Thank you very much

      I have

      Probably yes. In this case you have double.

      Denes Kubicek
      -------------------------------------------------------------------
      http://deneskubicek.blogspot.com/
      http://www.Apress.com/9781430235125
      http://Apex.Oracle.com/pls/OTN/f?p=31517:1
      http://www.Amazon.de/Oracle-Apex-XE-Praxis/DP/3826655494
      -------------------------------------------------------------------

    • How to remove the warning 010212-BEA Weblogic 10.3

      Hello

      We migrated from 8.1 to 10.3.We are getting warnings during the server starts. To suppress the warning, I use the tag < disable WARNING > in the Weblogic ejb jar. I get the error message

      "* BEA-010212 is not an allowed value for the disable-WARNING element."


      Could someone please advise on how to remove the warning from BEA-010212


      Please find the jar of Weblogic XML for your reference.

      <? XML version = "1.0"? >

      < weblogic-ejb-jar xmlns = "http://www.bea.com/ns/weblogic/90" xmlns: xsi = "http://www.w3.org/2001/XMLSchema-instance" xsi: schemaLocation = "http://www.bea.com/ns/weblogic/90 http://www.bea.com/ns/weblogic/90/weblogic-ejb-jar.xsd" > >

      < weblogic-company-bean >
      HouseKeepingName < ejb-name > < / ejb-name >
      < descriptor transaction >
      < trans-timeout-seconds > 36000 < / trans-timeout-seconds >
      < / descriptor transaction >

      < enable call-by-reference-> True < / enable-call-by-reference >

      < jndi name - > JSSSLHouseKeepingHome < / jndi-name >
      < / weblogic-company-bean >

      <>transaction-isolation
      TransactionReadCommitted < isolation-level > < / isolation level >
      < method >
      HouseKeepingName < ejb-name > < / ejb-name >
      < Method-intf > home < / method-intf >
      < method name >-* < / method name >
      < / method >

      < method >
      HouseKeepingName < ejb-name > < / ejb-name >
      Distance from < method-intf > < / method-intf >
      < method name >-* < / method name >
      < / method >
      < / transaction-isolation >

      < disable WARNING > BEA-010001 < / disable WARNING >
      < disable WARNING > BEA-010212 < / disable WARNING >

      < / weblogic-ejb-jar >

      Hello.

      http://download.Oracle.com/docs/CD/E13222_01/WLS/docs103/EJB/DDreference-ejb-jar.html#wp1113572 the only value disable warning are BEA-010001 | BEA-010054 | BEA-010200 | BEA-010202.

      It seems that you can not disable BEA-010212.

      Kind regards.

      Aurélien.

    • How to remove the permission of pc

      How to remove the permission of pc

      On the latest version of iTunes: account > permissions > Deauthorise This Computer (store > Deauthorise computer on older iTunes) on this computer: Deauthorize your computer using iTunes - Apple Support

    • How to remove the calendar program in the e-mail section because I hate and that everything he did to the e-mail page

      all this happened on my email page yesterday and I clicked it, but I don't like it. and then all of a sudden Besides my collected email addresses and my personal address book now there's a "address book all the" I don't like it as it is constantly changing for it and I don't want that. I want my program to return to how it was three or four days ago, when I didn't have this program and the additional topics, etc.

      How to remove the calendar program

      Open the Add-ons - Extensions Manager, search for 'Flash' and press the 'delete '.

    • How to remove the automatic locking of the IPad 2

      How to remove the automatic locking in the iPad 2

      Are you talking about the time it takes the device "go to sleep?

      Settings > general > auto lock > set to 'never '.

    • How to remove the message "not using current Version" boring?

      For months, my Firefox home page included a note that I do not have the latest version and provides a link to update. When I use the link I said "Congratulations, you are using the latest version." Adding insult to injury, there are not 20 minutes, I downloaded 27, and the message is still there. Almost the end of the world, but at this point, it is very annoying. How to remove the message?

      The old page of Google-Firefox has not changed since Firefox 4 is released, please disregard the information updated on this page.

    Maybe you are looking for