index now produces valid html
mysql code