how to aply to existing datatable
-
Hi,
I have a table defined as
echo “<table id=’compounds_table’>”;
while ($row = mysql_fetch_array($result))
{
$ID= $row[‘ID’];
$name= $row[‘name’];
echo “<tr><td>”.$ID.”</td><td>”.$name.”</td></tr>”;
}
echo “</table>”;
echo do_shortcode(‘[wp_jdt id=”compounds_table”]’);?>where $result is the result of a sql query in my database.
the table is displayed with the good set of data, but there is no option to it (sortable fields, pagination etc.)
Can you help me ?
Best regards.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘how to aply to existing datatable’ is closed to new replies.