$_GET variable in button

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • Andy128
    Major General

    • Dec 2005
    • 2317

    $_GET variable in button

    I have the need to pass a variable from page to page via the $_GET method. I need to do it via the navigation buttons provided with BV.

    Question is- how would this be done? Simply attaching ?method=$variable
    will not work.

    Any ideas welcome

    Keith
    PHP- is a blast!
  • navaldesign
    General & Forum Moderator

    • Oct 2005
    • 12080

    #2
    Re: $_GET variable in button

    http://www.yourdomain.com/pagename.php?product=ABVFP

    If the passed value is a variable,

    http://www.yourdomain.com/pagename.php?product=<?php echo $variable;?>
    Navaldesign
    Logger Lite: Low Cost, Customizable, multifeatured Login script
    Instant Download Cart: a Powerfull, Customized, in site, DB driven, e-products Cart
    DBTechnosystems.com Forms, Databases, Shopping Carts, Instant Download Carts, Loggin Systems and more....
    Advanced BlueVoda Form Processor : No coding form processor! Just install and use! Now with built in CAPTCHA!

    Comment

    • Andy128
      Major General

      • Dec 2005
      • 2317

      #3
      Re: $_GET variable in button

      Hey George! Great to see you on BV again. Still here I see. Hope all is well with you.

      I am using the link as relative link and not absolute.

      So when I get home I will try the; mypage.php?= <?php echo $variable; ?> method.

      Thanks pal. Hope to be around here more myself.

      Cheers-
      Andy
      PHP- is a blast!

      Comment

      • navaldesign
        General & Forum Moderator

        • Oct 2005
        • 12080

        #4
        Re: $_GET variable in button

        Relative links will works as well, Andy.

        Nice to see you back.
        Navaldesign
        Logger Lite: Low Cost, Customizable, multifeatured Login script
        Instant Download Cart: a Powerfull, Customized, in site, DB driven, e-products Cart
        DBTechnosystems.com Forms, Databases, Shopping Carts, Instant Download Carts, Loggin Systems and more....
        Advanced BlueVoda Form Processor : No coding form processor! Just install and use! Now with built in CAPTCHA!

        Comment

        Working...
        X