Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    New Coder
    Join Date
    Sep 2006
    Posts
    84
    Thanks
    47
    Thanked 0 Times in 0 Posts

    Dynamic Redirects???

    I have a link on my page <a type=search>Blue Widget</a>

    There is script that will take that when clicked, the link will display search results for Blue Widgets.

    What I want to do is add a query string to the end of a url that when clicked on will take the place of "Blue Widget"....i.e. www.website.com?x=red_widget When clicked on, the link will now appear as <a type=search>Red Widget</a> and when clicked, will take the customer to a search results page of red widgets.

    My problem is that I want the transition from the starting url to the search page to be seamless. Currently, a link will appear that has to be clicked manually. I want to redirect automatically, but since the link is in html tags and not an actual static web page url, I don't know how to do this. It doesn't seem like a java or meta redirect would work. It's almost like I need a script that will "click the link" for me when the page is loaded. Thanks!

  • #2
    Senior Coder jerry62704's Avatar
    Join Date
    Oct 2007
    Location
    Springfield, IL
    Posts
    1,100
    Thanks
    13
    Thanked 87 Times in 87 Posts
    Looks like you need PHP.
    .
    .
    ...and gladly would he learn and gladly teach

    Visit www.LiberalsWin.com for humor and the unique Bush/Obama Approval Polls

  • #3
    New Coder
    Join Date
    Sep 2006
    Posts
    84
    Thanks
    47
    Thanked 0 Times in 0 Posts
    Could you please elaborate? I'm somewhat of a novice. My pages all have a php extension due to other simple script I'm running. Any thoughts on what code I might need or where to find it.


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •