if (SQL_NUMROWS($result) == 0) {
// Category does not exists, we simply add it...
SQL_QUERY_ESC("INSERT INTO `{!_MYSQL_PREFIX!}_cats` (cat, visible, sort) VALUES ('%s','%s','%s')",
if (SQL_NUMROWS($result) == 0) {
// Category does not exists, we simply add it...
SQL_QUERY_ESC("INSERT INTO `{!_MYSQL_PREFIX!}_cats` (cat, visible, sort) VALUES ('%s','%s','%s')",