Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
?
Solved

pass a parameter from one kompozer page (html code)  to another and return the paramter to the main kompozer page.

Posted on 2008-11-10
3
Medium Priority
?
515 Views
Last Modified: 2012-05-05
How can I pass a logical parameter from on kompozer web page to another and return a parameter to the main page.  Please see attached file.  
experts-exchange-file.doc
0
Comment
Question by:blerman456
  • 2
3 Comments
 
LVL 70

Expert Comment

by:Jason C. Levine
ID: 22932899
Hi blerman456,

I can't see in the attached what you are trying to do.  

However, the usual way to pass parameters is through form posts or through the query string.  Assuming you don't want to do any server side processing, the query string is the best choice:

<a href="somepage.html?somevariable=somevalue">Go to the next page</a>

The information after the ? in the URL becomes available to scripts on the landing page.
0
 

Author Comment

by:blerman456
ID: 22933469
How do I change the variable to another value in the next page?  Also, the file I attached is a Word file, so you should be able to see it.  Can you try to open it in Word?
0
 
LVL 70

Accepted Solution

by:
Jason C. Levine earned 2000 total points
ID: 22933725
>> so you should be able to see it.

I can't tell from your code or your description what you are trying to do.  The attached is just a basic web page with links.

>> How do I change the variable to another value in the next page

Use server side scripting to process the variable.  For instance, using PHP:

if ($_GET['somevariable'] === "somevalue") {
     $somevariable = "someother value";
}

0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Introduction In this tutorial, I'll explain how to create an animated progress meter in a wireframe prototype developed using Axure RP 7.0 - a leading prototyping tool for designing web sites and software. (For more information about Axure and gett…
This guide will walk you through the essential considerations and tech stack for building scalable websites. Know how to grow your business the smart way!
The purpose of this video is to demonstrate how to Import and export files in WordPress. This will be demonstrated using a Windows 8 PC. Go to your WordPress login page. This will look like the following: mywebsite.com/wp-login.php : Click on Too…
Use Wufoo, an online form creation tool, to make powerful forms. Learn how to choose which pages of your form are visible to your users based on their inputs. The page rules feature provides you with an opportunity to create if:then statements for y…
Suggested Courses
Course of the Month15 days, 5 hours left to enroll

578 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