PHP changing output from the database
<p>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</p>

<pre><code>echo "&lt;td&gt;".$row['WindowsVersion']."&lt;/td&gt;\n";
</code></pre>

<p>displays 5.0 or 5.1 or 5.2 or 6.0 or 6.1</p>

<p>but I want it to display</p>

<pre><code>5.0 as 2000
5.1 as XP
5.2 as 2003
6.0 as Vista
6.1 as 7
</code></pre>

<p>Any help would be greatly appreciated</p>
