- $result = SQL_QUERY("SELECT module, title FROM "._MYSQL_PREFIX."_mod_reg ORDER BY module", __FILE__, __LINE__);
- $SW = 2; $OUT = "";
- while(list($mod, $title) = SQL_FETCHROW($result)) {
- // Set title to three dashes when no title is supplied
- if (empty($title)) $title = "---";
-
+ $result = SQL_QUERY("SELECT `module`, `title` FROM `{?_MYSQL_PREFIX?}_mod_reg` ORDER BY module", __FILE__, __LINE__);
+ $OUT = '';
+ while ($content = SQL_FETCHARRAY($result)) {