Re: phpinfo()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, 2013-02-20 at 14:23 -0500, John Taylor-Johnston wrote:

> 
> Design in Motion Webdesign wrote:
> >
> >>
> >>
> >> John Taylor-Johnston <John.Taylor-Johnston@xxxxxxxxxxxxxxxxxxxxx> wrote:
> >>
> >>> I cannot find button2 in phpinfo() when I click it. I was hoping to
> >>> find
> >>> a $_POST["button2"] value.
> >>> What am I doing wrong?
> >>>
> >>> <input type="button" name="button2" id="button2" value="Print Mode"
> >>> onclick="formSubmit()">
> >>>
> >>> I really wanted to use a button to pass a different condition than a
> >>> <input type="submit">
> >>
> >> Use a different value or name on the <input type="submit"/> button. 
> >> Don't use JavaScript to trigger the form like that. Its not necessary 
> >> and will bite you in the ass if ypu get a visitor who browses without 
> >> JavaScript, which can include security aware users, blind users, etc
> >> Thanks,
> >> Ash
> >> http://www.ashleysheridan.co.uk
> >>
> >> -- 
> >> PHP General Mailing List (http://www.php.net/)
> >> To unsubscribe, visit: http://www.php.net/unsub.php
> >>
> >
> > Try $_POST['button2']
> >
> > Best regards.
> > Steven
> >
> 
> $_POST['button2'] does not exist. I'm using radio to get aorund it for 
> now. A button would have been cleaner.
> 
> 


<input type="submit" name="button2" value="button"/>

Not sure what you have against submit buttons, because this will do what
you want and you don't need to be doing whatever it is you're doing with
radio buttons?

Thanks,
Ash
http://www.ashleysheridan.co.uk



[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux