thanks a lot.
Even I&
#039;m not an expert it seems that this code works:
#-- Original code
#$query = "SELECT DISTINCT category
# FROM $t_mantis_project_category_table
# WHERE [color=
#0033CC][b]$t_project_where[/b][/color]
# ORDER BY category";
#-- Modified to filter out parent Project
$query = "SELECT DISTINCT category
FROM $t_mantis_project_category_table
WHERE [color=#FF0000][b]project_id = $c_project_id[/b][/color]
ORDER BY category";
if you find something wrong, please let me know.
many many thanks.
Cris by ArtGroup
Mantis: 1.1.2
PHP: 5.2.5
SQL: MySQL 5.0.51a
OS: XP SP2