- SQL_QUERY_ESC("INSERT INTO `{!_MYSQL_PREFIX!}_cats` (cat, visible, sort) VALUES ('%s','%s','%s')",
- array(REQUEST_POST('catname'), REQUEST_POST('visible'), bigintval(REQUEST_POST('parent') + 1)), __FILE__, __LINE__);
- $content = CATEGORY_ADDED;
+ SQL_QUERY_ESC("INSERT INTO `{?_MYSQL_PREFIX?}_cats` (`cat`, `visible`, `sort`) VALUES ('%s','%s','%s')",
+ array(
+ postRequestParameter('catname'),
+ postRequestParameter('visible'),
+ bigintval(postRequestParameter('parent') + 1)
+ ), __FILE__, __LINE__);
+ $content = '{--CATEGORY_ADDED--}';