Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.php > #17468

Re: Arguments on a button

Path csiph.com!weretis.net!feeder4.news.weretis.net!feeder5.news.weretis.net!news.solani.org!.POSTED!not-for-mail
From "Christoph M. Becker" <cmbecker69@arcor.de>
Newsgroups comp.lang.php
Subject Re: Arguments on a button
Date Mon, 5 Jun 2017 19:41:59 +0200
Organization solani.org
Lines 18
Message-ID <oh4545$ao3$1@solani.org> (permalink)
References <be64366d-5484-4569-a97c-dab6238b13c0@googlegroups.com> <ogrrin$4qu$1@dont-email.me>
Mime-Version 1.0
Content-Type text/plain; charset=utf-8
Content-Transfer-Encoding 7bit
X-Trace solani.org 1496684485 11011 eJwNyskBwDAIA7CVoGATxkk59h+h1VswKiucoGOxaRie0OFNaj8lB4IogQStzdfqzT9ox03MB/7mECM= (5 Jun 2017 17:41:25 GMT)
X-Complaints-To abuse@news.solani.org
NNTP-Posting-Date Mon, 5 Jun 2017 17:41:25 +0000 (UTC)
User-Agent Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.1.1
In-Reply-To <ogrrin$4qu$1@dont-email.me>
X-User-ID eJwFwYEBwDAEBMCV0PcYJxX2HyF3/lHZATrh63ugtcKcn3vPWq1OqWNS2koLI2aJNonLyHkdLxCy
Content-Language de-DE
Cancel-Lock sha1:0/gSSu5F/uUq5z9AxtgOkKz8xOg=
X-NNTP-Posting-Host eJwNx8EBwCAIA8CVREii64Cw/wjt/Q5OYykIBgbjp0zK6BbLVrYPL4g82niZ+lc+tuztO9AHFgwQtg==
Xref csiph.com comp.lang.php:17468

Show key headers only | View raw


On 02.06.2017 at 16:12, Lew Pitcher wrote:

> bit-naughty@hotmail.com wrote:
> 
>> If I have a button on a page, which when clicked, I want to run
>> "page2.php", with particular arguments, say fruit=papaya&veggies=potato ,
>> how do I do that?
> 
> You don't need PHP for that; you can satisfy that requirement with pure 
> HTML:
>   <form method="post" action="page2.php?fruit=papaya&veggies=potato">
>   <input type="submit">
>   </form>

In this case, I'd use `method="get"`.

-- 
Christoph M. Becker

Back to comp.lang.php | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Arguments on a button bit-naughty@hotmail.com - 2017-06-02 06:25 -0700
  Re: Arguments on a button Lew Pitcher <lew.pitcher@digitalfreehold.ca> - 2017-06-02 10:12 -0400
    Re: Arguments on a button Lew Pitcher <lew.pitcher@digitalfreehold.ca> - 2017-06-02 10:19 -0400
      Re: Arguments on a button Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2017-06-06 20:53 +0200
        Re: Arguments on a button "Christoph M. Becker" <cmbecker69@arcor.de> - 2017-06-06 23:44 +0200
          Re: Arguments on a button Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2017-06-07 22:35 +0200
    Re: Arguments on a button Mark Lloyd <not@mail.invalid> - 2017-06-02 11:35 -0500
      Re: Arguments on a button Lew Pitcher <lew.pitcher@digitalfreehold.ca> - 2017-06-02 12:51 -0400
    Re: Arguments on a button Lew Pitcher <lew.pitcher@digitalfreehold.ca> - 2017-06-03 10:39 -0400
    Re: Arguments on a button "Christoph M. Becker" <cmbecker69@arcor.de> - 2017-06-05 19:41 +0200
      Re: Arguments on a button Lew Pitcher <lew.pitcher@digitalfreehold.ca> - 2017-06-05 14:02 -0400

csiph-web