Go Back   CodingForums.com > :: Server side development > Other server side languages/ issues > Python

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 05-16-2010, 10:09 AM   PM User | #1
Murmandamus
New to the CF scene

 
Join Date: May 2010
Location: Australia
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Murmandamus is an unknown quantity at this point
HTML Linking Issues

Hi all,

I am new to programming in the python language and i was playing around with links such as:

Code:
<a href='../cgi-bin/main.py?url=register'>Register</a>
The link is in HTML that the script generates, but whenever the link is clicked it doesn't change the value of 'url' which is a variable.

What i am aiming for is that each link will return to the same page (main.py) and from there it can determine which HTML page to generate depending on the variable 'url'.

I have searched online but cant seem to find a solution. Why won't the link change the value of the variable url?

Any help would be appreciated.

Cheers,
Murm.
Murmandamus is offline   Reply With Quote
Old 05-18-2010, 03:12 PM   PM User | #2
Samhain13
Regular Coder

 
Samhain13's Avatar
 
Join Date: Aug 2008
Location: Pilipinas
Posts: 165
Thanks: 4
Thanked 18 Times in 18 Posts
Samhain13 is on a distinguished road
What does your Python code look like?
__________________
I am a Man of Truth. I am a Free Human Person. I am a Peacemaker.
** Independent Multimedia Artist in Pasig **
Samhain13 is offline   Reply With Quote
Old 05-20-2010, 02:03 AM   PM User | #3
Murmandamus
New to the CF scene

 
Join Date: May 2010
Location: Australia
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Murmandamus is an unknown quantity at this point
I sorted it out, thanks anyways.
Murmandamus is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 09:45 AM.


Advertisement
Log in to turn off these ads.