chanchelkumar Posted March 3, 2007 Share Posted March 3, 2007 this code is not working with IE.... No issue with fire fox... <div id="cart"><?php include "dbconnect.php"; $cart_qr="select * from ib_user_cart where uid='".$_SESSION['userid']."'"; $cart_res=mysql_query($cart_qr) or die(mysql_error()); if(mysql_num_rows($cart_res)>0){ ?> <table width="100%" border="0" cellspacing="0" cellpadding="5"> <tr> <td width="77%"><h2 align="right">Your Shopping Cart (100% Safe & Secure)</h2></td> <td width="23%"><img src="images/wi0067-48.gif" width="48" height="48" align="middle"></td> </tr> </table> <table width="100%" align="center" cellpadding="5" cellspacing="0" bordercolor="#F2F2F2" bgcolor="#FFFFFF" class="sales_panel"> <tr> <td width="421" height="22" background="images/green_bar_bg.jpg" bgcolor="#F2F2F2"><span class="style37">Product Discription </span></td> <td width="79" height="22" background="images/green_bar_bg.jpg" bgcolor="#F2F2F2"><div align="center" class="style37">QTY</div></td> <td width="79" height="22" background="images/green_bar_bg.jpg" bgcolor="#F2F2F2"><div align="center" class="style37">Price</div></td> <td width="79" height="22" background="images/green_bar_bg.jpg" bgcolor="#F2F2F2"><div align="center" class="style1"><span class="style36">Remove</span></div></td> </tr> <?php $total=0; while($row1=mysql_fetch_array($cart_res)){ $qty1=$row1['qty']; $prid1=$row1['prid']; $sel_qr="select * from ib_products where prid='".$prid1."'"; $sel_res=mysql_query($sel_qr) or die(mysql_error()); $sel_row=mysql_fetch_array($sel_res); $prodname=$sel_row['pname']; $prodprice=$sel_row['price']; $bill=$qty1*$prodprice; $total=$total+$bill; ?> <tr> <td><em><?=$prodname?> </em></td> <td><div align="center"><?=$qty1?></div></td> <td><div align="right">$ <?=number_format($prodprice,2)?> </div></td> <td> <div align="center"><a href="removeitem_cart.php?prid=<?=$prid1?>">Remove </a> </div></td> </tr> <? } ?> <tr> <td colspan="4"><div align="right"> <p><strong>Total $ <?= number_format($total,2)?> </strong></p> <p> <a href="order_form.php"> <input type="submit" name="Submit" ahref="order_form.php" value="Continue to Checkout >>"></a> </p> </div></td> </tr> </table><? } ?></div> Dat submit button to next page is not working in IE... Link to comment https://forums.phpfreaks.com/topic/40974-solved-issue-with-ie/ Share on other sites More sharing options...
Grant132 Posted March 3, 2007 Share Posted March 3, 2007 not sure but i think "ahref="order_form.php"" is your problem in the submit tag Link to comment https://forums.phpfreaks.com/topic/40974-solved-issue-with-ie/#findComment-198405 Share on other sites More sharing options...
Archadian Posted March 3, 2007 Share Posted March 3, 2007 take out the ahref="order_form.php" and add action="order_form.php" in the <form> tag (not </form>) Link to comment https://forums.phpfreaks.com/topic/40974-solved-issue-with-ie/#findComment-198406 Share on other sites More sharing options...
chanchelkumar Posted March 3, 2007 Author Share Posted March 3, 2007 How come it's been da problem.... Den how is it working with fire fox... The { style="cursor:hand" } is not working in firefox!!!! Is der any compactable style for two browsers... I want that hand over the link image... Link to comment https://forums.phpfreaks.com/topic/40974-solved-issue-with-ie/#findComment-198407 Share on other sites More sharing options...
Archadian Posted March 3, 2007 Share Posted March 3, 2007 you need to read up on the conversions between firefox and IE so it works in both Link to comment https://forums.phpfreaks.com/topic/40974-solved-issue-with-ie/#findComment-198408 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.