Solved

toggle query_string variables

Posted on 2013-05-30
3
230 Views
Last Modified: 2013-05-31
toggle on/off 1 query_string variable with one href click (no checkboxes of choices)

website.com/index.php?query_variable1=45&query_variable2=59499&query_variable3=8


want

website.com/index.php?query_variable1=45&query_variable2=59499&

or
website.com/index.php?query_variable1=45&query_variable3=8




real world example:
videos:
captioning: on/off
video quality: 720,480,360,240
video size: small, large, full-screen

clicking on one should not affect other

my example:
reporting all the results, one month of results
results approved by supervisor, results not approved by supervisor
checked results, unchecked results, all results
0
Comment
Question by:rgb192
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 15

Expert Comment

by:Jagadishwor Dulal
ID: 39210013
What exactly your question is??

Open in new window

0
 
LVL 57

Accepted Solution

by:
Julian Hansen earned 500 total points
ID: 39210103
Your question is not clear.

You don't want to use checkboxes but if I read the question right you want to toggle a link between two options?

Why not have separate links?

You need to rephrase your question as there is too much ambiguity in what you are asking.
0
 

Author Closing Comment

by:rgb192
ID: 39210452
0

Featured Post

Secure Your WordPress Site: 5 Essential Approaches

WordPress is the web's most popular CMS, but its dominance also makes it a target for attackers. Our eBook will show you how to:

Prevent costly exploits of core and plugin vulnerabilities
Repel automated attacks
Lock down your dashboard, secure your code, and protect your users

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Generating table dynamically is the most common issue faced by php developers.... So it seems there is a need of an article that explains the basic concept of generating tables dynamically. It just requires a basic knowledge of html and little maths…
Foreword (July, 2015) Since I first wrote this article, years ago, a great many more people have begun using the internet.  They are coming online from every part of the globe, learning, reading, shopping and spending money at an ever-increasing ra…
Learn how to match and substitute tagged data using PHP regular expressions. Demonstrated on Windows 7, but also applies to other operating systems. Demonstrated technique applies to PHP (all versions) and Firefox, but very similar techniques will w…
The viewer will learn how to count occurrences of each item in an array.

719 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question