Hi -{,
Nachricht vom Donnerstag, 3. April 2003, 16:27:56:
> If(!$_GET['sub_x'] && !$_GET['sub_y']) {
> // display form
> } else {
> // it was submitted
Use "isset" to test the variables... it is cleaner code. PHP will
complain if you do not. (Except of course if you silence it an
Even if it would be fixed right now, you cannot count on it for several
years ;-)
Daevid Vincent wrote:
Anyone know if this annoying behaviour will ever be 'fixed' in future HTML
specs? I can't believe what a glaring oversight this is that the 'value'
doesn't get GET/POSTED like with a normal 's
Anyone know if this annoying behaviour will ever be 'fixed' in future HTML
specs? I can't believe what a glaring oversight this is that the 'value'
doesn't get GET/POSTED like with a normal 'submit' button... WTF were they
thinking?
--
PHP General Mailing List (http://www.php.net/)
To unsubscrib
have a look on tag in w3c.org mate
On Wed, Apr 02, 2003 at 09:27:01PM -0500, Thomas wrote:
> I have a problem with my php.
>
> I have a form and in that form there is an image submit button. When I
> click on it, it won't tell me if the submit button is clicked.
> It works fine with a normal on
> -Original Message-
> From: -{ Rene Brehmer }- [mailto:[EMAIL PROTECTED]
> Sent: 03 April 2003 15:28
>
> On Wed, 2 Apr 2003 21:41:02 -0500, John Coggeshall wrote
> about "RE: [PHP]
> Submit Image Button" what the universal translator turned into this:
>
It works either way apparently...plus, I need the $POST not $_GET. but it
works aswell.
"-{ Rene Brehmer }-" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> On Wed, 2 Apr 2003 21:41:02 -0500, John Coggeshall wrote about "RE: [PHP]
> Submit Image
On Wed, 2 Apr 2003 21:41:02 -0500, John Coggeshall wrote about "RE: [PHP]
Submit Image Button" what the universal translator turned into this:
>Well you can ignore it if you don't need the X/Y cord... But you can use
>it to make sure the button was clicked:
>
>If(!$_G
ll
> john at coggeshall dot org http://www.coggeshall.org/
> -~=~--~=~--~=~--~=~--~=~--~=~--~=~--~=~--~=~--~=~--~=~--~=~--~=~--~=~-
>
>
> >-Original Message-
> >From: Thomas [mailto:[EMAIL PROTECTED]
> >Sent: Wednesday, April 02, 2003 9:39 PM
> >To: [EMAIL PROTECTED]
> >Subject: Re: [PHP] Submit Image Button
> >
gt;To: [EMAIL PROTECTED]
>Subject: Re: [PHP] Submit Image Button
>
>
>ok, sorry I'm a newb...what do I do with that info? I saw
>that page, but it makes no sense to me
>
>Thomas
>
>
>"John Coggeshall" <[EMAIL PROTECTED]> wrote in message
&g
ggeshall
> john at coggeshall dot org http://www.coggeshall.org/
> -~=~--~=~--~=~--~=~--~=~--~=~--~=~--~=~--~=~--~=~--~=~--~=~--~=~--~=~-
>
>
> >-Original Message-
> >From: Thomas [mailto:[EMAIL PROTECTED]
> >Sent: Wednesday, April 02, 2003
9:27 PM
>To: [EMAIL PROTECTED]
>Subject: [PHP] Submit Image Button
>
>
>I have a problem with my php.
>
>I have a form and in that form there is an image submit
>button. When I click on it, it won't tell me if the submit
>button is clicked. It
I have a problem with my php.
I have a form and in that form there is an image submit button. When I
click on it, it won't tell me if the submit button is clicked.
It works fine with a normal one.
sample:
If I use This works finedo I need to do
something e
12 matches
Mail list logo