I'm creating an computer inventory website that is displayed in a table. I'm trying to change the output display for example the following
echo "<td>".$row['WindowsVersion']."</td>\n";
displays 5.0 or 5.1 or 5.2 or 6.0 or 6.1
but I want it to display
5.0 as 2000
5.1 as XP
5.2 as 2003
6.0 as Vista
6.1 as 7
Any help would be greatly appreciated