Solved

toggle query_string variables

Posted on 2013-05-30
3
225 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
3 Comments
 
LVL 15

Expert Comment

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

Open in new window

0
 
LVL 54

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

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Insert values are dynamic 11 41
applying error reporting code to see paypal error messages 13 58
php string detection problem 7 34
Creating Functions in phpMyAdmin 8 18
This article will explain how to display the first page of your Microsoft Word documents (e.g. .doc, .docx, etc...) as images in a web page programatically. I have scoured the web on a way to do this unsuccessfully. The goal is to produce something …
Since pre-biblical times, humans have sought ways to keep secrets, and share the secrets selectively.  This article explores the ways PHP can be used to hide and encrypt information.
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 create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…

810 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