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 to the CF scene
    Join Date
    May 2010
    Location
    Australia
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    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.

  • #2
    Regular Coder Samhain13's Avatar
    Join Date
    Aug 2008
    Location
    Pilipinas
    Posts
    169
    Thanks
    4
    Thanked 18 Times in 18 Posts
    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 **

  • #3
    New to the CF scene
    Join Date
    May 2010
    Location
    Australia
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts
    I sorted it out, thanks anyways.


  •  

    Posting Permissions

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