thank you for responding
actually I had to fiddle a bit more because the langauge id is not static but will also receive its value by $_GET[]:
mysql_select_db($database_mydatabase, $mydatabase);
$query_menuwriter_categories1 = sprintf("SELECT language_id, categories_id,
categories_name, parent_id, sorter FROM categories WHERE parent_id=%s
AND language_id=%s ORDER BY sorter ASC",
GetSQLValueString($MenuWriter_menuwriter_categories1, "int"),
GetSQLValueString($language_menuwriter_categories1, "int"));
$menuwriter_categories1 = mysql_query($query_menuwriter_categories1, $mydatabase) or die(mysql_error());
$row_menuwriter_categories1 = mysql_fetch_assoc($menuwriter_categories1);
$totalRows_menuwriter_categories1 = mysql_num_rows($menuwriter_categories1);
I'd like to suggest to update CssMW in order to be able to do this from the menu...
Don't know why there is a space in the code further up at "$query_menuwriter_categories1"