You are here: Re: [PHP] problem with IE and php « PHP « IT news, forums, messages
Re: [PHP] problem with IE and php

Posted by tg-php on 06/08/05 17:48

PHP doesn't really have anything to do with IE or Firefox working or failing to work, it's all about the HTML that PHP generates.

What does your <form> tag look like? That's probably more the issue than your button or anything having to do with PHP.

If you have no <form> tag, then the browsers might be trying to figure out what you really meant to do. This could be trying to submit the form data to the current page ("yourscript.php") or could be trying to submit to the default document in that folder (possibly "index.htm" or "index.html" or "default.htm" or something like that).

If you don't have a <form> tag, try something like this:

<form action="yourscript.php" method="POST">
<input type="submit" name="submit" value="Commit">
</form>


Changing "yourscript.php" to your script name of course, and you can use either POST or GET for the method depending on what you want to do.

If that didn't help, please post more of your code.

-TG


= = = Original message = = =

Hi all,

I running two php web page...therefore the page name has the ".php" on the
end.
The first page contains a form with a submit button at the botton. That
submit button actions the second ".php" page.

When I use my firefox browser everything works fine.
When I use Internet Explorer, the submit button does not work.

the button is the following:
<tr><td>
<input type="submit" name="submit" value="Commit">
</td></tr>

Could the html be treated differently when there is php around it or maybe
when we use ".php" could the html be treated differently?

Oh yeah, I created a duplicate of the pages with no php and had the two
pages marked as ".html" and the button worked fine.

Any help would be great.

CHeers
Phil

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


___________________________________________________________
Sent by ePrompter, the premier email notification software.
Free download at http://www.ePrompter.com.

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация