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.
Uggghh Button is not working in IE
Moderator: General Moderators
-
motleycrewl
- Forum Newbie
- Posts: 8
- Joined: Tue Mar 04, 2008 2:16 pm
- vargadanis
- Forum Contributor
- Posts: 158
- Joined: Sun Jun 01, 2008 3:48 am
- Contact:
Re: Uggghh Button is not working in IE
Hi!
This one worked for me...
One more thing... If you post a code, quote it as code!
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>";One more thing... If you post a code, quote it as code!