Page 1 of 1

Uggghh Button is not working in IE

Posted: Tue Jun 03, 2008 5:59 am
by motleycrewl
Man I have no clue what im doing wrong. Everything works just as it should in Firefox, but when I tried it in IE it does nothing. Heres my code:

if (isset($_POST['submitted'])) {
echo "<script language='javascript'>";
echo "window.location='confirmation.php?'";
echo "</script>"; }

echo "
<form action='' method='POST'>
<input type='submit' value='Confirm Reservation' '/>
<input type='hidden' value='1' name='submitted' /> </form>";

It must be something small? Any clues? Thanks a big one guys.

Re: Uggghh Button is not working in IE

Posted: Tue Jun 03, 2008 7:33 am
by vargadanis
Hi!

Code: Select all

if (isset($_POST['submitted'])) {
echo "<script language='javascript'>";
echo "window.location='confirmation.php?'";
echo "</script>"; }
 
echo "
<form action='" . $_SERVER['PHP_SELF'] . "' method='POST'>
<input type='hidden' value='1' name='submitted' />
<input type='submit' value='Confirm Reservation'/>
</form>";
This one worked for me...

One more thing... If you post a code, quote it as code!