Jump to content

php code with Enter key


freephoneid

Recommended Posts

STRANGE.....I copied the exact code which you've given in 1 file & I'm getting following:

 

Array ( [xx] => 77 [deleteasn_x] => 49 [deleteasn_y] => 10 )

 

Version info on Windows XP:

C:\>c:\php-5.2.3\php.exe -v

PHP 5.2.3 (cli) (built: May 31 2007 09:37:22)

Copyright © 1997-2007 The PHP Group

Zend Engine v2.2.0, Copyright © 1998-2007 Zend Technologies

 

Any idea, why?

 

Link to comment
Share on other sites

Hi F1Fan,

  Are you sure you are using IE & not fire fox?

 

  After looking at google help, I found that the type image buttons will never display in IE in POST & it'll display only as delete_x & delete_y in POST.

 

  I've posted question in web admin as well but I got no answer.

 

  Can you tell me if you see the same delete in IE?

 

Thanks!

Link to comment
Share on other sites

Ah hah! Sorry, I didn't even think about that. I am using Firefox. I get the same thing you get on IE. Is there a problem with just using the fact that the ones with _x and _y are there? You could just add a check that looks for <varname>_x and <varname>_y are set and, of so, assume that image <varname> was clicked. What's wrong with that?

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.