hi i am trying to display data that is being fetched from MySQL database .Currently I am facing two problems

1.the query that is being used is taking too much time..
2.Iam not able to display the data properly onto a web a web page using html-template module...