tim_ver Posted March 24, 2007 Share Posted March 24, 2007 I wanted to know how to rem out a line so it does not display. I do not want to delete it as I may need it later so I wanted to know what I put in front of the line to achive this. I tried // put that just displayed // in from of the line on the page. Please help. Thanks Quote Link to comment https://forums.phpfreaks.com/topic/44103-simple-rem-line-out-question/ Share on other sites More sharing options...
skali Posted March 24, 2007 Share Posted March 24, 2007 Not sure exactly what you are trying to say, post some code of what you are doing. Quote Link to comment https://forums.phpfreaks.com/topic/44103-simple-rem-line-out-question/#findComment-214141 Share on other sites More sharing options...
tim_ver Posted March 24, 2007 Author Share Posted March 24, 2007 sure here is what I have: <tr> <td><img src="images/in_prt.jpg" width="10" height="14" hspace="5"></td> <td nowrap><a href="prt.php?ID=<?=$_GET['ID'];?>" class="style6">PRODUCT</a></td> <td><img src="images/in_pte.jpg" width="19" height="7" hspace="5"></td> <td nowrap><a href="ga.php?ID=<?=$_GET['ID'];?>" class="style6">GA</a></td> <td><img src="images/icn_print.jpg" width="12" height="10" hspace="5"></td> <td nowrap><a href="#" onclick="javascript: window.print(); return false;" class="style6">PRINT</a></td> </tr> I want to rem out first two lines of code, so they do not display now. Thanks Quote Link to comment https://forums.phpfreaks.com/topic/44103-simple-rem-line-out-question/#findComment-214148 Share on other sites More sharing options...
AndyB Posted March 24, 2007 Share Posted March 24, 2007 <tr> <!--ignore <td><img src="images/in_prt.jpg" width="10" height="14" hspace="5"></td> <td nowrap><a href="prt.php?ID=<?=$_GET['ID'];?>" class="style6">PRODUCT[/url]</td> --> <td><img src="images/in_pte.jpg" width="19" height="7" hspace="5"></td> <td nowrap><a href="ga.php?ID=<?=$_GET['ID'];?>" class="style6">GA[/url]</td> <td><img src="images/icn_print.jpg" width="12" height="10" hspace="5"></td> <td nowrap><a href="#" onclick="javascript: window.print(); return false;" class="style6">PRINT[/url]</td> </tr> Quote Link to comment https://forums.phpfreaks.com/topic/44103-simple-rem-line-out-question/#findComment-214195 Share on other sites More sharing options...
wildteen88 Posted March 24, 2007 Share Posted March 24, 2007 I believe the word you are looking for is comment out not rem out. To comment out lines in html use the comment tags (<!-- This is an html comment -->) as shown by AndyB above. HTML comments can span multiple lines so make sure you close of your comment tags correctly. Quote Link to comment https://forums.phpfreaks.com/topic/44103-simple-rem-line-out-question/#findComment-214203 Share on other sites More sharing options...
paul2463 Posted March 24, 2007 Share Posted March 24, 2007 bloody hell I have just had a massive flash back REM is a Basic command from my childhood help me please..... Quote Link to comment https://forums.phpfreaks.com/topic/44103-simple-rem-line-out-question/#findComment-214362 Share on other sites More sharing options...
MadTechie Posted April 3, 2007 Share Posted April 3, 2007 WooHoo the good old BASIC REM = REMark aka comment 10: PRINT "Please help me" 20: GOTO 10 Quote Link to comment https://forums.phpfreaks.com/topic/44103-simple-rem-line-out-question/#findComment-220335 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.