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 2 of 2
  1. #1
    Regular Coder
    Join Date
    Feb 2006
    Posts
    112
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Extract variable from URL

    Is there a way to retrieve variabl data from the address bar and pass it to a page and also an iframe within that page?

    I have managed to send data from one page to another with the _GET statment.

    Any help or a point in the right direction?

    Thx
    CB

  • #2
    New Coder
    Join Date
    Jul 2005
    Posts
    87
    Thanks
    0
    Thanked 0 Times in 0 Posts
    its the same as passing information. use $_GET.

    say u have mysite.com/view?id=10

    $_GET['id']; would return "10"


  •  

    Posting Permissions

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