- foreach (postRequestParameter('sel') as $id => $value) {
- // Load data of category
- $result = SQL_QUERY_ESC("SELECT `cat` FROM `{?_MYSQL_PREFIX?}_cats` WHERE `id`=%s LIMIT 1",
- array(bigintval($id)), __FILE__, __LINE__);
- list($cat) = SQL_FETCHROW($result);
-
- // Free result
- SQL_FREERESULT($result);
-
- // Prepare data for the row template
- $content = array(
- 'id' => $id,
- 'cat' => $cat,
- );
-