Can I search a HTML table in PHP? -


i have numerous function display results table example:

foreach($matches $child) {      echo "<table border=\"5\" cellpadding=\"10\">";     echo "<tr>";     echo $child . "<br />"; }  echo "</tr>"; echo "</table>"; 

is there way can search table keyword , display results on button click?

   if(isset($_post['apply1']))     {         } 

with php, need pass parameters , search database accordingly.

with js easy:

use datatables

this search table js.

you can add server backend avoid huge php code/stying etc.


Comments