Using Drupal api and display the values from Mysql in a tabular format

The code below connects to mysql database using drupal hooks and displays the results in a tabular format. You can save the code below as products.module and be sure to create an info file. The code below demonstrates how to sort the table columns in both ascending and descending order and how to provide a css class to a Drupal table.

Comments
Related Searches second level domain dns queries drafting design split method regular expression case company

©2011 About.com. All rights reserved.

A part of The New York Times Company.