/ Published in: PHP

Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
\$sql = "$1"; ); \$sql .= tablesort_sql(\$header); \$result = pager_query(\$sql, 50); \$destination = drupal_get_destination(); while (\$row = db_fetch_object(\$result)) { } if (\$pager = theme('pager', NULL, 50, 0, tablesort_pager())) { } if (!\$rows) { } return theme('table', \$header, \$rows);
Comments
