red_fraggle Posted February 3, 2004 Share Posted February 3, 2004 help on the following error would be very nice, thanks in advance to any that respond. when i replace this: <?php } ?> to this: <?php $rmtIP = $REMOTE_ADDR; ?> < tr> <td colspan="2"> <table width="100%"> <tr> <td class="smalltext" align="center" height="20" valign="middle"> <?php echo " Your IP Address is: " . $rmtIP; ?> </td> </tr> </table> < /tr> i get this error: Parse error: parse error in /home/hsphere/local/home/cmurphy/absalute-pleasure.com/catalog/includes/footer.php on line 70 Link to comment Share on other sites More sharing options...
Guest Posted March 4, 2004 Share Posted March 4, 2004 I get the same message when I try too. Link to comment Share on other sites More sharing options...
241 Posted March 4, 2004 Share Posted March 4, 2004 try this <?php $rmtIP = $REMOTE_ADDR; ?> < tr> <td colspan="2"> <table width="100%"> <tr> <td class="smalltext" align="center" height="20" valign="middle"> <?php echo " Your IP Address is: " . $rmtIP; ?> </td> </tr> </table></td> < /tr> or try adding the code before or after the <?php } ?> No longer giving free advice. Please place deposit in meter slot provided. Individual: [=] SME: [==] Corporation: [===] If deposit does not fit one of the slots provided then you are asking too much! Is your Osc dated try Phoenix raising oscommerce from the ashes. Link to comment Share on other sites More sharing options...
241 Posted March 4, 2004 Share Posted March 4, 2004 Sorry ran out of edit time this works <?php $rmtIP = $REMOTE_ADDR; ?> <td colspan="2"> <table width="100%"> <tr> <td class="smalltext" align="center" height="20" valign="middle"> <?php echo " Your IP Address is: " . $rmtIP; ?> </td> </tr> </table></td> <?php } ?> and so does this <?php } ?> <?php $rmtIP = $REMOTE_ADDR; ?> <td colspan="2"> <table width="100%"> <tr> <td class="smalltext" align="center" height="20" valign="middle"> <?php echo " Your IP Address is: " . $rmtIP; ?> </td> </tr> </table></td> you need the bit of code <?php } ?> in order to close of an earlier opening of { used by the banner No longer giving free advice. Please place deposit in meter slot provided. Individual: [=] SME: [==] Corporation: [===] If deposit does not fit one of the slots provided then you are asking too much! Is your Osc dated try Phoenix raising oscommerce from the ashes. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.