Jump to content

Search help.


Recommended Posts

<table width="459" border="1">
  <tr>
    <td width="81">1</td>
    <td width="66">jon</td>
    <td width="106">man</td>
    <td width="81">dog</td>
    <td width="91">gun</td>
  </tr>
  <tr>
    <td>3</td>
    <td>love</td>
    <td>hate</td>
    <td>appreciate</td>
    <td>long</td>
  </tr>
  <tr>
    <td>1</td>
    <td>chong</td>
    <td>bong</td>
    <td>dong</td>
    <td>mong</td>
  </tr>
  <tr>
    <td>1</td>
    <td>ling</td>
    <td>blong</td>
    <td>swong</td>
    <td>hong</td>
  </tr>
  <tr>
    <td>5</td>
    <td>plung</td>
    <td>plut</td>
    <td>but</td>
    <td>snut</td>
  </tr>
</table>
</body>
</html>

So basically the table looks like this;

 

1 - other columns

3 - other columns

1 - other columns

1 - other columns

5 - other columns

 

How can i filter it, so it only shows the columns with the letter 1 in the first row.

 

Filter =

1 - other columns

1 - other columns

1 - other columns

 

Link to comment
https://forums.phpfreaks.com/topic/164428-search-help/
Share on other sites

Well, 1 is a number :) and is the page being generated with PHP? If so, you would need to post the code generating it. If not, you're in the wrong forum.

Yes its PHP, and 1 is just an example. It will really have names like Object1 and such but for the sake example i just put 1.

Link to comment
https://forums.phpfreaks.com/topic/164428-search-help/#findComment-867365
Share on other sites

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.