Jump to content

Simple rem line out question


tim_ver

Recommended Posts

 

 

  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

 

 

 

Link to comment
https://forums.phpfreaks.com/topic/44103-simple-rem-line-out-question/
Share on other sites

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

<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>

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.

  • 2 weeks later...

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.