Stupid firefox... help please

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
DevTony
Forum Newbie
Posts: 4
Joined: Fri Sep 16, 2005 8:02 pm

Stupid firefox... help please

Post by DevTony »

Ok i have a form that calculates how much something would cost and when i go to echo it on hte next page it shows it in ie but not firefox...


heres the code for the first page

Code: Select all

<center> <form action="orderpopunders.php" method="post" name="form" id="form">
		  <table width="528" height="81" cellpadding="3" cellspacing="0" class="indextable">
              <tr>
                <td width="126" height="79" align="center"valign="middle" class="indexpopunders"><img src="images/getedvertised.gif" width="117" height="24"></td>
                <td width="87" align="center" valign="middle" class="indexbanners"><img src="images/quantity.gif" width="59" height="12">
                  <select name="CPM" class="indextable2" id="CPM" onchange="adCalc(this.form)">
                    <option value="5" selected>5,000</option>
                    <option value="10">10,000</option>
                    <option value="15">15,000</option>
                    <option value="20">20,000</option>
                    <option value="25">25,000</option>
                    <option value="30">30,000</option>
                    <option value="35">35,000</option>
                    <option value="40">40,000</option>
                    <option value="45">45,000</option>
                    <option value="50">50,000</option>
                    <option value="75">75,000</option>
                    <option value="100">100,000</option>
                    <option value="250">250,000</option>
                    <option value="500">500,000</option>
                    <option value="1000">1,000,000</option>
                                                      </select></td>
                <td width="163" align="center" valign="middle" class="indexbanners"><img src="images/targetingoptions.gif" width="113" height="13">                  <select name="targeting" class="indextable2" id="targeting" onchange="adCalc(this.form)">
                  <option value="1.95" selected>Non Targeted</option>
                  <option value="2.65">Language Targeted</option>
                  <option value="2.95">Country Targeted</option>
                  <option value="3.65">Category Targeted</option>
                  <option value="4.65">Language + Category</option>
                  <option value="4.95">Country + Category</option>
                </select></td>
                <td width="150" align="center" valign="middle" class="indextextads"><span class="indexbanners">
                  <span class="style1">$</span>                  
                  <input name="price" type="text" class="indextable2" id="price" onchange="adCalc(this.form)" size="10">
                  <a href="orderpopunders.php"><input type ="IMAGE" name="submit" img src="images/ordernow.gif" value="submit" width="117" height="36" border="0" align="middle"></a>
                </span></td>
              </tr>
            </table>
	        <div align="center"></div>
		  </form>

Heres the code for the 2nd page

Code: Select all

<? echo $_POST['CPM'];?>
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

got a live version of this somewhere?
DevTony
Forum Newbie
Posts: 4
Joined: Fri Sep 16, 2005 8:02 pm

Post by DevTony »

i imed you since i dont want the link here since its in testing stage
Charles256
DevNet Resident
Posts: 1375
Joined: Fri Sep 16, 2005 9:06 pm

Post by Charles256 »

yeah...good way to get help;) :: starts googling for his site:: :-D
User avatar
Jenk
DevNet Master
Posts: 3587
Joined: Mon Sep 19, 2005 6:24 am
Location: London

Post by Jenk »

If that is all you have on the second page, then you won't see anything.

View the source and you will see that it is there.

Give it some "<html><body><pre><?php echo $_POST['CPM']; ?></pre></body></html>" lovin and all shall be revealed. :)
ryanlwh
Forum Commoner
Posts: 84
Joined: Wed Sep 14, 2005 1:29 pm

Post by ryanlwh »

the title should be stupid IE, making developers learn the incorrect html/css syntaxes...
Post Reply