You can try:
mysql_select_db($database_con1, $con1);
$query_CategoryName = "SELECT * FROM LockoutPoints WHERE ID IN (".$row_Products[‘CategoryID’].")";
$CategoryName = mysql_query($query_CategoryName, $con1) or die(mysql_error());
$row_CategoryName = mysql_fetch_assoc($ProductCatName);
$totalRows_CategoryName = mysql_num_rows($ProductCatName);
?>
Then you can use a repeat region to show all of the category names from the returned recordset.